/Queue-Alert-Backend

A queue management system backend inspired by Coldplay ticketing systems like BookMyShow. Handles user authentication, real-time queue updates, and priority-based queue management using Node.js, MongoDB, and WebSockets.

Primary LanguageJavaScript

Queue Management System Backend

This is the backend for a queue management system, inspired by the recent trend seen during Coldplay ticket bookings on platforms like BookMyShow. This system allows users to log in and join a priority queue based on timestamps when they click to use a service. The queue is managed in real-time, and users are notified about their position in the queue via WebSockets.

Features

  • JWT-Based Authentication: Secure user login using JSON Web Tokens (JWT) and cookie-based security.
  • Priority Queue: Users are placed in the queue based on the timestamp of their request to use the service.
  • Real-Time Updates: WebSockets are used to notify users of their current queue position in real time.
  • Queue Management: Handles queue operations like push (add user) and pop (remove user) efficiently.
  • Scalable Architecture: The system is designed to handle a large number of users concurrently.

Technologies Used

  • Node.js: Server-side JavaScript runtime environment.
  • Express.js: Web framework for building the API.
  • MongoDB: NoSQL database for storing user information and queue data.
  • WebSockets