This is a mini chat application built using Socket.io. It allows users to join a group chat, send messages, and view chat history.
- Node.js and npm should be installed on your machine.
-
Clone the repository:
git clone https://github.com/Anandkr21/Mini-Whatsapp.git
-
Navigate to the project directory:
cd mini-chat-application
-
Install the dependencies:
npm install
-
Start the server:
npm start
-
Open a web browser and go to
http://localhost:8080
to access the chat application. -
You can create an account, log in, and start chatting with other users.
-
GET /api: Retrieves the list of users.
-
POST /api/signup: Creates a new user account.
-
POST /api/login: Logs in an existing user.
-
GET /api/messages/:name: Retrieves the chat history for a specific user.
- Node.js
- Express.js
- Socket.io
- MongoDB
This project was created as part of a learning experience and is not intended for production use.
If you have any questions or suggestions, please feel free to contact at 📬 anandkumarguptakg15@gmail.com