Skip to content

PRASUN-SITAULA/chitChat

Repository files navigation

Health Track

Description

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.

Table of Contents

Features

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.

Technologies

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.

Installation Guide

Clone this repository

https://github.com/PRASUN-SITAULA/chitChat.git

Go into the repository

cd chitChat

Install packages

npm install

Configuration

Database Setup

  • Create a .env file and add the following:
DATABASE_URL=[INSERT SUPABASE Database URL]
DIRECT_URL=[INSERT SUPABASE Database DIRECT URL]

Clerk Setup

  • 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

Pusher 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]

Prisma Setup

npx prisma db push
npx prisma generate

Run the Development Server

npm run dev

Visit the Page

Open your browser and navigate to http://localhost:3000.

Screenshots

Image Image Image

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A NextJS messaging app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published