This project is a simple implementation of a WhatsApp-like website. The application allows users to create, edit, and delete their chats, with each chat being assigned a unique ID generated using uuid()
. The project utilizes MongoDB Atlas as the online database to store chat information.
-
Create Chat:
- Users can create new chats with a unique ID generated by the system.
-
Edit Chat:
- Users have the ability to edit their existing chats, modifying messages and other relevant details.
-
Delete Chat:
- Users can delete unwanted chats, removing them from the system.
-
RESTful API:
- The project follows RESTful principles for communication between the client and server.
-
MongoDB Database:
- MongoDB is used as the backend database to store chat information, providing a scalable and flexible solution.
-
Node.js:
- The project is built using Node.js to handle server-side logic.
-
Express:
- Express.js is employed to create a robust and efficient web server.
-
MongoDB:
- MongoDB serves as the backend database to store and retrieve chat information.
-
Clone the repository:
git clone https://github.com/NikhilKalloli/Whatsapp-mongoDB.git
-
Navigate to the project directory:
cd Whatsapp-mongoDB
-
Install dependencies:
npm install
-
Setup Mongo Atlas:
Create an account on MongoDB Atlas and create a newclustor
. -
Configure Database:
Create a.env
file in the project directory and add the Database credentials in a key-value pair. -
Start the server:
node index.js
View all the users at http://localhost:3000
Contributions are welcome! If you have any improvements or new features to suggest, please create a pull request.
If you have any questions or issues, feel free to open an issue.
If you have any feedback, please reach out to me at nikhilkalloli0097@gmail.com