A real-time chat application built with MERN stack, TypeScript, and Socket.io.
client/- React frontend (Vite + TypeScript)server/- Express backend (Node + TypeScript + Socket.io)shared/- Shared types and constants
- Node.js (v18 or higher)
- MongoDB
- Clone the repository
- Install dependencies:
npm installRun both client and server:
npm run devOr run separately:
npm run dev:client # Frontend only
npm run dev:server # Backend onlyCreate a .env file in the server/ directory:
PORT=5000
MONGODB_URI=mongodb://localhost:27017/chat-app
NODE_ENV=development
Built by 12o-clockCommit aka [pink-fairy-armadillos]
chat-app/
├── client/
├── server/
├── shared/
├── .gitignore
├── package.json
└── README.md