directus-labs / guest-authoring

A repo for our guest authors to work on content
11 stars 40 forks source link

Building a Real-time Chat Application with Directus and Socket.io #58

Closed GeoSegun closed 8 months ago

GeoSegun commented 8 months ago

What is your idea?

This article aims to guide readers and developers through building a real-time chat application using Directus as the headless CMS for data storage and Socket.io for real-time client communication. This article will provide a step-by-step approach to setting up the backend server using Node.js and Express, integrating it with Socket.io for WebSocket communication, and utilizing Directus as a backend for storing and retrieving chat messages. Here is the proposed outline:

What are the key takeaways from your post?

Readers will learn how to integrate Directus, a headless CMS, with Socket.io to build a real-time chat application. This tutorial covers setting up the backend server, handling communication using Socket.io, and utilizing Directus for storing and retrieving chat messages, providing valuable insights into combining headless CMS and real-time communication technologies.

What type of post is this?

Getting Started With Directus and {Language/Framework/Environment}

Country of residence

Nigeria

Terms & Conditions

phazonoverload commented 8 months ago

Thanks for submitting this idea. Doesn't make sense for us as we have a direct WebSockets interface with Directus Realtime.

GeoSegun commented 8 months ago

Hello Kevin, I can adjust this topic instead I will leverage Directus Realtime, which offers a direct WebSockets interface. The backend server will be adjusted to communicate directly with Directus Realtime for handling real-time communication. Finally, the frontend will be modified to interact with these WebSockets to create the chat application.

Those this make sense?

phazonoverload commented 8 months ago

This project is already in our documentation with three variants. Thanks for submitting the idea, but we won’t be going ahead with it.