Simple Chat App using MERN Stack, Socket.io for Real Time Communication and JWT for authentication.
You can have this application up and running with just a few steps because it has both the frontend and the backend in a single repository. Follow the steps below to do so.
- Clone this repo
- After that, cd inside frontend and backend and run npm install.
- Create .env file inside root of backend folder with MONGO_DB=YOUR_MONGO_DB_URL and SECRET=YOUR_JWT_SECRET
- This application uses MongoDB as its Database. So make sure you have it installed. You can find detailed guides on how to do so here.
- Finally cd inside frontend and backend and run npm start
- The frontend of the application will be automatically opened in your web browser and you can test it.