Features:
- Real-time messaging using Socket.io
- Send attachments as messages using UploadThing
- Delete and edit messages in real time for all users
- Create Text, Audio and Video call channels
- 1:1 conversation between members
- 1:1 video calls between members
- Member management (Kick, Role change Guest / Moderator)
- Unique invite link generation & full working invite system
- Server creation and customization
- UI created using TailwindCSS and ShadcnUI
- Full responsivity and mobile UI
- Light / Dark mode
- Websocket fallback polling with alerts
- ORM using Prisma
- postgreSQL database to store data
- Authentication with Clerk
Node version 18.x.x
git clone https://github.com/GiaxUp/discord-clone.git
npm i
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=
NEXT_PUBLIC_CLERK_SIGN_UP_URL=
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=
DATABASE_URL=
UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=
LIVEKIT_API_KEY=
LIVEKIT_API_SECRET=
NEXT_PUBLIC_LIVEKIT_URL=
Add postgreSQL Database (I have mine running on local)
npx prisma generate
npx prisma db push
npm run dev