noahskorner / discord-clone

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

Home Page:https://discord-clone-server-0.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://discord-clone-server-0.herokuapp.com/


Languages

Language:TypeScript 95.9%Language:JavaScript 1.8%Language:CSS 1.5%Language:Shell 0.8%