Skip to content

Discord clone built using Nextjs, Express, Postgres, TailwindCSS. Real time communication provided via WebRTC and Socket.IO

Notifications You must be signed in to change notification settings

noahskorner/discord-clone

Repository files navigation

Discord Clone

Built with NextJS, Typescript, TailwindCSS, ExpressJS, Postgres, Socket.IO, and WebRTC

Check it out here!

Installation and Setup Instructions

Clone down this repository. You will need node and npm installed globally on your machine.

cd discord-clone

Install Dependencies:

npm install

Create the .env file in the root directory, checkout .env.example for an example:

touch .env.local

To Start Server:

npm run dev

To Visit App:

localhost:3000

Things I wish I would've done differently

  • friend/friend_request to user_relationship
  • created request/response objects
    • throw vs return
  • organization of files (interfaces, dtos, etc.)
  • naming of direct_message vs message
    • message_group?
  • completed testing suite
  • my janky error handling
  • message architecture
    • uneccessary coupling in my current architecture
  • typescript classes vs interface

About

Discord clone built using Nextjs, Express, Postgres, TailwindCSS. Real time communication provided via WebRTC and Socket.IO

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published