Discord Clone

This is a real-time discord clone built using MERN stack, WebRTC, and Socket.IO.


  • Authentication using JWT
  • Create separate voice rooms and chat in real-time with other users
  • Video calling , voice calling , screensharing using WebRTC
  • Audio only mode
  • Friend Adding Functionality
  • Easy to use UI

Tech Stack

  • MongoDB
  • Express
  • React
  • Node.js
  • WebRTC
  • Socket.IO

Getting Started


  • Node.js


  1. Install NPM packages

    npm install
  2. Add the following environment variables in .env file

    MONGO_URI= your mongo uri here 
    TOKEN_KEY= your token key here
  3. Start the server side

    cd discord-backend
    npm start
  4. Start the client side

    cd discord-frontend
    npm start


  • Registration Page

Create Account

  • Friend adding functionality

add friend

  • Chat functionality

homepage frnd request

  • Video room creation and screenshare functionality

video room creation

screenshare functionality


View Github