Chat Application created with MERN stack and Socket.IO
In the project directory, you can run: Install packages for both client and backend
npm install
Make .env file in root backend folder. It needs to have DB, SECRET, PORT.
DB=mongodb+srv://<username>:<password>@cluster0-11111.mongodb.net/chatapp?retryWrites=true&w=majority
SECRET=somesecretcode
PORT=8000
Start for both client and backend
npm start
Open http://localhost:3000 to view it in the browser.