How burakorkmez/fullstack-chat-app works
Project type and purpose
• This is a full-stack, real-time chat application built with the MERN stack (MongoDB, Express, React, Node) plus Socket.io for WebSocket messaging, JWT for auth, Cloudinary for media uploads, TailwindCSS/DaisyUI for styling, and Zustand for client-side state.
File structure
• Top-level directories:
• backend/ – Node/Express server
• frontend/ – React single-page app
• backend/src organizes MVC: controllers, models, routes, middleware, lib (db connection, Cloudinary, Socket.io helper, utils), seeds.
• frontend/src splits into components, pages, constants, lib (axios, utils), store (Zustand hooks), styling config (Tailwind, Vite).
README for additional insights
• Real-time messaging via Socket.io
• JWT-based authentication/authorization
• MongoDB as the primary data store
• Cloudinary for image uploads
• Deployment instructions (build, start)