Skip to content

This is a RealTimeChat-App built with the latest technologies, designed for seamless and instant communication. The app leverages Next.js 13 for its front-end framework, ensuring a highly performant and optimized user interface. Prisma is utilized as the ORM to manage and interact with the database, providing type-safe database access.

Notifications You must be signed in to change notification settings

ShashwatPS/ChatSync

Repository files navigation

ChatSync

This is a realtime chat application built using Pusher.js for socket features, NextAuth for GitHub authentication, Prisma for database management, and Supabase for PostgreSQL storage. The application is built on Next.js 13 (AppRouter).

Setup

To set up the application locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Create a .env file based on the .env.sample file provided.
  4. Fill in the necessary values in the .env file.
  5. Run npx prisma db push.
  6. Run npm install.
  7. Run npm run dev.
  8. Visit http://localhost:3000 in your web browser to access the application.

Environment Variables

  • DATABASE_URL: The URL for your PostgreSQL database.
  • GITHUB_CLIENT_ID and GITHUB_SECRET_ID: Your GitHub OAuth App client ID and secret.
  • PUSHER_APP_ID, PUSHER_SECRET, and NEXT_PUBLIC_PUSHER_KEY: Pusher API credentials.
  • NEXTAUTH_SECRET: A random string used for NextAuth.js token encryption.

Technologies Used

  • Next.js 13 (Experimental AppRouter)
  • Pusher.js
  • NextAuth.js
  • Prisma
  • Supabase

About

This is a RealTimeChat-App built with the latest technologies, designed for seamless and instant communication. The app leverages Next.js 13 for its front-end framework, ensuring a highly performant and optimized user interface. Prisma is utilized as the ORM to manage and interact with the database, providing type-safe database access.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published