The application might be slow for some people because free services are used to deploy the project. Backend is deployed on render and frontend is deployed on vercel. Also the project uses some external APIs for avatar. So keep patience and have fun.
Table of Contents
This is Chat Application website. Here you can chat with one another in real time. It has cool list of avatars that you can set to your profile and also emojis by which you can chat.
- Make sure you have Nodejs installed.
- MongoDB is good to have but not mandatory.
- git bash if you are on windows.
- Clone the repo
git clone
- Goto public directory and type
npm install
- In the same directory run
npm start
- Goto server directory and type
npm install
- In the same directory run
npm start
- Make sure you set environment variables where ever needed.
Mohammad Arsalan - @Arsalaan | [email protected] | LinkedIn
API is deployed here: https://chat-app-api-kxhg.onrender.com
Complete application is deployed here: https://chat-app-1-to-1.vercel.app/
| .gitignore
| README.md
|
+---public
| | .gitignore
| | package-lock.json
| | package.json
| | README.md
| |
| +---public
| | favicon.ico
| | index.html
| | logo192.png
| | logo512.png
| | manifest.json
| | robots.txt
| |
| \---src
| | App.css
| | App.js
| | App.test.js
| | index.css
| | index.js
| | logo.svg
| | reportWebVitals.js
| | setupTests.js
| |
| +---assets
| | loader.gif
| | logo.svg
| | robot.gif
| |
| +---components
| | ChatContainer.jsx
| | ChatInput.jsx
| | Contacts.jsx
| | Logout.jsx
| | Messages.jsx
| | Welcome.jsx
| |
| +---pages
| | Chat.jsx
| | Login.jsx
| | Register.jsx
| | SetAvatar.jsx
| |
| \---utils
| APIRoutes.js
|
\---server
| .env
| index.js
| package-lock.json
| package.json
|
+---controllers
| messagesController.js
| usersController.js
|
+---model
| messageModel.js
| userModel.js
|
\---routes
messagesRoute.js
userRoutes.js