ChitChat is a modern, user-friendly instant messaging application that enables seamless communication between users. ChitChat provides a reliable and engaging platform for real-time communication with friends and family.
Real-time message delivery: The application provides real-time message delivery, ensuring that messages are delivered instantly to the recipient.
One-on-one conversations: Users can have one-on-one conversations with their friends and family, allowing for personalized communication.
Group chat: Users can create and join groups, enabling them to have group chats with multiple users.
Secure user authentication: The application uses secure user authentication, ensuring that only authorized users can access the platform.
Search functionality: Users can search for other users by name or username, making it easy to find the right person for communication.
Image Sending Functionality: Users can send images to others.
This project is built using the following technologies:
- Next.js: FullStack React framework.
- Supabase: Database for storing user data.
- Shadcn UI: UI library for styling.
- Clerk: Authentication library for user authentication.
- Pusher: Real-time messaging library for delivering messages.
https://github.com/PRASUN-SITAULA/chitChat.git
cd chitChat
npm install
- Create a .env file and add the following:
DATABASE_URL=[INSERT SUPABASE Database URL]
DIRECT_URL=[INSERT SUPABASE Database DIRECT URL]
- Create a .env.local file and add the following:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=[INSERT CLERK PUBLISHABLE KEY]
CLERK_SECRET_KEY=[INSERT CLERK SECRET KEY]
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL=/
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL=/setup
- In the .env.local file, add the following:
PUSHER_APP_ID=[INSERT PUSHER APP ID]
NEXT_PUBLIC_PUSHER_KEY=[INSERT PUSHER KEY]
PUSHER_SECRET=[INSERT PUSHER SECRET]
NEXT_PUBLIC_PUSHER_CLUSTER=[INSERT PUSHER CLUSTER]
npx prisma db push
npx prisma generate
npm run dev
Open your browser and navigate to http://localhost:3000.
This project is licensed under the MIT License - see the LICENSE file for details.