A simple Discord clone built using MERN stack, Socket IO and WebRTC

Discord Clone

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

Features

  • 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

Prerequisites

  • Node.js

Installation

  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
    

Screenshots

  • Registration Page

  • Friend adding functionality

  • Chat functionality

  • Video room creation and screenshare functionality

GitHub

View Github