An open API service indexing awesome lists of open source software.

https://github.com/vikasutf8/next-chat-server

scalable chat application using powerful technologies like Socket.io, Kafka, Redis, Postgres, and Next.js.
https://github.com/vikasutf8/next-chat-server

Last synced: about 1 year ago
JSON representation

scalable chat application using powerful technologies like Socket.io, Kafka, Redis, Postgres, and Next.js.

Awesome Lists containing this project

README

          

# Updated Progress : Scalable chat Application on integrate Kafka and Redis

## Client

- NextJs with Shadcn UI/ Tailwind CSS
- NextAuth : Should be google, Github ...more or
- Google Developer Console setup
- Create new Project and select that >> it will takes little time
- Menu option << API & Services << Oauth consent screen << Client << create Button
- On filling all required field ,moved on Client as entry URL `http:"' localhost:8000` and callback url `http://localhost:3000/api/auth/callback/google` and save
- COPY clientID and clientSecret , using them at env
-
`GOOGLE_CLIENT_ID= \\
GOOGLE_CLIENT_SECRET= \\
NEXTAUTH_URL=http://localhost:8000 \\
NEXTAUTH_SECRET=`
- Middleware : private routing default via next-auth/middleware with only `matcher=["/dashborad"]`
- Component
- base : basic template of pages
- dashboard : dashboard page >> DashNav >> ProfileMenu >> UserAvatar
- auth : LoginModal , LogoutModal

## Server

- NodeJs Server on Express
- Prisma : Postgres via NEON/Supabase::also integre later with mongodb for structureless schema
- Supabase : create new project with prisma ORM `npx prisma init` and create schema them migrate `npx prisma migrate dev --name=users_table`