TalkSpace is a real-time chat application built with the MERN stack (MongoDB, Express.js, React, Node.js) and Socket.io for live messaging.
- Real-time messaging with Socket.io
- User authentication (JWT)
- Responsive React UI
- Online status indicators
- Message history (MongoDB)
- Node.js (v16+) - Download
- MongoDB (Atlas or local) - Guide
- React (v18+) - Included with
create-react-app - Git - Download
git clone https://github.com/Adarsh2345/TalkSpace---MERN-Stack-application.git
cd TalkSpace---MERN-Stack-applicationcd client
npm installcd ../server
npm installCreate .env file in /server:
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
PORT=5000In separate terminals:
Backend:
cd server
npm startFrontend:
cd client
npm startAccess at: http://localhost:5000