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

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

Screenshot (76)

Send Request

Screenshot (75)

Chat

Screenshot (74)

GitHub

View Github