A fully functional Discord clone with support for Messages, Emojis, Files, Live Video/Audio and Authentication
There's no demo, sorry 😔
Table of Contents
To get a local copy up and running follow these simple example steps.
- npm
npm install npm@latest -g
- 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.
- Clone the repo
git clone https://github.com/asish918/Discord-Clone.git
- Install NPM packages
npm install
- Enter your API keys in
.env
. Refer the.env.example
file - Generate Prisma types and push to MongoDB
npx prisma generate && npx prisma push
- 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 - Run the project
npm run dev
Refer to this visual schema to understand better
Distributed under the MIT License. See LICENSE
for more information. Basically you can do whatever the hell you want to with the code 😉
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