How samisb2002/chat-app works
Project type and purpose
• This is a full-stack real-time chat application (“Chatty”) built on the MERN stack (MongoDB, Express, React, Node.js) plus Socket.IO for real-time messaging, Redis for presence, Cloudinary for image storage, and JWT for auth.
File structure
• Top-level:
• backend/ – Node.js + Express REST & Socket.IO server, organized in MVC style (controllers, models, routes) with a lib folder for shared utilities (db, redis, socket, cloudinary).
• frontend/ – React (Vite) app, organized into pages, components, state stores (Zustand), utilities (axios, utils), Tailwind/DaisyUI styling.
• Root has overarching docs and instructions.
README
• Confirms real-time chat, user auth, online presence, image sharing, responsive design, dark/light mode.
• Lists all core technologies and their roles.
Detail without over-splitting
• Five major zones (client, API, WebSocket, databases, external storage) but group related functions.