Skip to content

myj009/socket-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket Chat

This Turbo repo contains both the client and server components for the socket chat application. The client is a basic UI written in Next.js with shadcn components and deployed on Vercel. The backend is a simple Socket IO server which handles bidirectional communication and is deployed on a DigitalOcean droplet. The database is deployed on NeonDB and the app is using Prisma ORM to communicate with the DB. The app uses next-auth for authentication.

socket-chat.mov

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

  • socket-server: a socket.io backend server
  • web: another Next.js app
  • @repo/db: a prisma client package to interact with the database
  • @repo/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • @repo/typescript-config: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

Build

To build all apps and packages, run the following command:

cd my-turborepo
yarn build

Develop

To develop all apps and packages, run the following command:

cd my-turborepo
yarn dev

Technologies used

  • Nextjs
  • Shadcn
  • Socket.io
  • PrismaORM
  • Postgres

About

Chat application using Nextjs and Socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published