Skip to content

Latest commit

 

History

History
155 lines (120 loc) · 5.28 KB

README.md

File metadata and controls

155 lines (120 loc) · 5.28 KB

Stargazers MIT License LinkedIn


Logo

Discord

A fully functional Discord clone with support for Messages, Emojis, Files, Live Video/Audio and Authentication

There's no demo, sorry 😔

Table of Contents
  1. About The Project
  2. Getting Started
  3. Database Schema
  4. License
  5. Contact

About The Project

Product Name Screen Shot

(back to top)

Built With

  • Next
  • React
  • Prisma
  • Tailwind
  • ShadCn
  • Clerk
  • MySQL
  • WebRTC
  • WebSockets
  • PlanetScale

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • npm
    npm install npm@latest -g

Installation

  1. Get respective API Keys/ URIs for Clerk(Authentication), Planetscale(MySQL DB), UploadThing(File Uploads) and LiveKit (Live Audio/Video). You need to set these up manually.
  2. Clone the repo
    git clone https://github.com/asish918/Discord-Clone.git
  3. Install NPM packages
    npm install
  4. Enter your API keys in .env. Refer the .env.example file
  5. Generate Prisma types and push to MongoDB
    npx prisma generate && npx prisma push
  6. Refer to the schema.prisma file and try to create some dummy data to see actual results. Make sure the your Clerk, LiveKit, and CloudThing API Keys are correctly configured. Image URLs can be accessed from CloudThing console
  7. Run the project
    npm run dev

    (back to top)

Database Schema

Refer to this visual schema to understand better Database Schema

(back to top)

License

Distributed under the MIT License. See LICENSE for more information. Basically you can do whatever the hell you want to with the code 😉

(back to top)

Contact

Asish Mahapatra - asishmahapatra918@gmail.com

The project has not been deployed because it uses WebSockets and that requires you to operate a server with paid plans which I don't intend to do just so that random people can viewe my project. So go ahead, clone it, configure it and make it yours

Project Link: https://github.com/asish918/Discord-Clone

(back to top)