Discord App Built with MERN Stack. Chat Functionality, Users can send friend Invitations, start stream
Discord MERN Clone
Built with Node js, Express js, Mongoose(Object Modeling for MondgoDB), React Js.
Functionalities
- Send Request & Accept Request.
- Video Chat.
- One – One Chat.
- Camera Disabled Or Enabled.
- JWT Authentication.
Tech
- Frontend : React Js
- Backend : Express js
- Style : Material UI
- Database : MongoDB Atlas
- Routing : React Router Dom V6
Installation
Clone
- Clone this repo with url
https://github.com/Aakrut/discord-mern
Setup
Install npm dependencies using npm install
$ cd client && npm install
$ cd server && npm install
Set up a MongoDB database either locally or provision a free database with MongoDB Atlas
Create a .env file in the server directory
Set up required environment variables.
MONGO_URI=Your_MONGO_URL
JWT_SECRET=YOUR_SECRET_KEY
JWT_LIFETIME=TIME
Create a .env file in the client directory
REACT_APP_API=YOUR_SERVER_URL
Navigate in the directory and run the following command
npm start
Screenshots
Dashboard
Send Request
Chat