Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reaperdragon/discord-mern

Discord App Built with MERN Stack.๐ŸŽฎChat Functionality, Users can send friend Invitations, start stream.๐Ÿ“น
https://github.com/reaperdragon/discord-mern

discord expressjs httpstatuscode jwt-authentication material-ui mongodb mongoose nodejs reactjs redux socket-io

Last synced: 3 days ago
JSON representation

Discord App Built with MERN Stack.๐ŸŽฎChat Functionality, Users can send friend Invitations, start stream.๐Ÿ“น

Awesome Lists containing this project

README

        

# 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](https://reactjs.org/)
- Backend : [Express js](https://expressjs.com/)
- Style : [Material UI](https://mui.com/)
- Database : [MongoDB Atlas](https://www.mongodb.com/)
- Routing : [React Router Dom V6](https://reactrouter.com/)

### 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)](https://user-images.githubusercontent.com/67114280/177529237-4e4e6dc5-578d-4494-b85e-ad25d13fb719.png)

Send Request

![Screenshot (75)](https://user-images.githubusercontent.com/67114280/177529362-3e917dd9-af48-48c7-9ebe-8230c39bf1b7.png)

Chat

![Screenshot (74)](https://user-images.githubusercontent.com/67114280/177529617-0ffed443-ee90-4865-a90f-d81efc7381fc.png)