Clone the project
git clone https://github.com/tonrugeria/CHAT-APP.git
Go to the project directory
cd CHAT-APP
Install dependencies
npm install
cd frontend/
npm install
Create .env file
PORT = 5000
MONGO_URI = <Your Own MongoURI>
JWT_SECRET = ton
Start the server
npm start
Start the Client
cd frontend
npm start
Go to "MongoDB" and Signin
- Create cluster
- In the database tab press connect and choose "connect your application"
- There you will see your <MONGO_URI> something like this:
mongodb+srv://chatApp:<password>@cluster0.ry62atz.mongodb.net/?retryWrites=true&w=majority