How dharminjoshi/dchat-real-time-chat-app-by-devkay works
Project type and purpose
• This is a full-stack, real-time chat application.
• Purpose: allow users to join a chatroom, send broadcast and private messages, see a live user list, and view typing indicators, all in real time.
File structure
• Top-level:
• index.js: server entry point (Node.js + Express + Socket.io)
• client/: static assets served to browsers
• package.json / package-lock.json: dependencies (Express, Socket.io, Moment.js)
• client/:
• index.html – main UI
• js/client.js – client-side socket logic
• css/style.css – styling
• No dedicated database or microservices—single server handles all logic.
Extract architecture insights from README
• WebSockets (via Socket.io) for real-time comms
• Express serves static client files and upgrades HTTP connections
• Moment.js on server (and possibly client) for timestamps
• No persistent storage yet (future MongoDB)