directus-labs / guest-authoring

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

Building a Real-time Notification System Using Directus WebSockets and Node.js #259

Closed Taofiqq closed 3 months ago

Taofiqq commented 3 months ago

What is your idea?

Idea

This project looks to teach the reader how to build a scalable real-time notification system using Directus WebSockets and Node.js. Based on the WebSocket capabilities of Directus, we will create a system that listens for data changes in a Directus-managed database and instantly relays these updates to connected clients.

Outline

Introduction

This section will introduce the reader to the fundamentals of real-time communication (also in web applications) using web-sockets

Enabling and Using Directus WebSockets

This section will explain to the readers how to enable and configure WebSockets in Directus. It will also talk on how to listen for real-time data chanfes using Directus Websokets

Real-Time Notification System with Node.js and Directus

Frontend Integration (Optional)

Conclusion

What are the key takeaways from your post?

Key Takeaways from this Post:

  1. Understanding the basics of real time communication using websockets
  2. Leveraging Directus Websocket to listen for real time data changes
  3. Subscribing to data changes in Directus and relay updates to clients.

Country of residence

Nigeria

Terms & Conditions

github-actions[bot] commented 3 months ago

Thank you for submitting an idea for our guest blog.
We work through new ideas every few weeks as we put together our content schedule. This means you may not get an immediate response as to whether your idea has been accepted, or any follow-up questions we have to clarify your idea.
If your idea is accepted, we will provide a deadline for first draft and how much we can pay you for the post. You will have a few days to confirm whether you are still able and willing to write the post.
If you have any questions in the meantime, feel free to add a comment to this issue.

BB-Loft commented 3 months ago

Thank you for submitting this idea, but unfortunately we are not accepting it as part of our guest author program.