This is an academic project developed for the Data Communication and Computer Networks subject. The application is a real-time chat platform built using the MERN stack (MongoDB, Express.js, React.js, Node.js).
- Real-time messaging
- User authentication
- Message history
- User profiles
- Group chat functionality
- MongoDB: NoSQL database for storing user data and messages
- Express.js: Backend web application framework
- React.js: Frontend library for building the user interface
- Node.js: JavaScript runtime environment for the server
- Socket.io: Library for real-time, bidirectional communication
- Clone the repository
git clone https://github.com/yourusername/mern-chat-app.git- Install dependencies for the server
cd mern-chat-app/server
npm install- Install dependencies for the client
cd ../client
npm install- Create a
.envfile in the server directory with the following variables:
PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
- Start the server
cd ../server
npm start- Start the client
cd ../client
npm startmern-chat-app/
├── client/ # React frontend
├── server/ # Node.js backend
│ ├── controllers/ # Request handlers
│ ├── models/ # Database models
│ ├── routes/ # API routes
│ └── server.js # Entry point
└── README.md # Project documentation
This project is being developed as part of the coursework for Data Communication and Computer Networks. It demonstrates practical implementation of networking concepts including:
- Client-server architecture
- WebSocket communication
- HTTP/HTTPS protocols
- Data persistence
- Authentication and security
- End-to-end encryption
- File sharing capabilities
- Voice and video calls
- Mobile application
- Sahil Gawade
This project is for academic purposes only.