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.
- Host: GitHub
- URL: https://github.com/vikasutf8/next-chat-server
- Owner: vikasutf8
- Created: 2025-06-04T10:24:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-04T16:39:58.000Z (about 1 year ago)
- Last Synced: 2025-06-04T22:18:27.515Z (about 1 year ago)
- Language: TypeScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`