Real-time Messaging: Chat application

A real-time messaging application with JWT-based authentication.

Stack: Socket.IO, JWT, Zustand.

Architecture

  1. Client · Zustand: Client-side state is managed with Zustand.
  2. JWT auth: Users authenticate with JWT before they can message.
  3. Socket.IO events: Messages travel as real-time Socket.IO events.
  4. Other clients: Events reach the other connected clients in real time.

What she built

  • Built a real-time messaging application using Socket.IO with JWT-based authentication.
  • Implemented real-time event handling and client-side state management using Zustand.
  • Optimized application performance and achieved a Lighthouse score of approximately 95.

Live · GitHub