- Deployed Backend = https://
- Deployed Webite = https://
QuickChat is a Full Stack Chatting App. Uses Socket.io for real time communication and stores user details in encrypted format in MongoDB Database.
Frontend:
- HTML5
- CSS3
- JavaScript
- React.js
Backend:
- Node.js
- Express.js
- Socket.io
Database: Mongo DB
METHOD | ENDPOINT | BODY | DESCRIPTION | STATUS CODE |
---|---|---|---|---|
POST | /api/register | name, email, password, pic(Optional) | This endpoint should allow to register. Hash the password and store in MongoDB. | 201 |
POST | /api/login | email, password | This endpoint should allow to login after comparing the user's credentails. | 201 |
GET | /api/user | This endpoint should allow to search other users. | 200 | |
GET | /api/chats/ | This endpoint should allow to get the chats. | 200 | |
POST | /api/chats/ | userId | This endpoint should allow to send messages. | 201 |
POST | /api/chats/group | users, name | This endpoint should allow to create a group. | 201 |
PUT | /api/chats/rename | chatId, chatName | This endpoint should allow to rename a groups. | 202 |
PUT | /api/chats/groupadd | chatId, chatName | This endpoint should allow to add people to the group. | 202 |
PUT | /api/chats/groupremove | chatId, chatName | This endpoint should allow to remove someone from the group. | 202 |
Clone the project
git clone https://github.com/Ananyakumarisingh/mern-chat-app
Go to the project directory
cd QuickChat
Install dependencies
npm install
cd frontend/
npm install
Start the server
npm run start
Start the Client
//open now terminal
cd frontend
npm start