Skip to content

pallaviii21/Chat-Application

Repository files navigation

Real-Time Chat Application

A modern, real-time chat application built with React, TypeScript, Tailwind CSS, and Supabase.

Features

  • Real-time Messaging: Instant message delivery using Supabase real-time subscriptions.
  • User Presence: Real-time online/offline status tracking for all connected users.
  • Authentication: Secure user login and registration powered by Supabase Auth.
  • State Management: Efficient global state handling using Zustand.
  • Modern UI: Clean and responsive design styled with Tailwind CSS v4 and Lucide React icons.

Tech Stack

Configuration

Prerequisites

  • Node.js (v18 or higher recommended)
  • A Supabase account and a new project

Environment Variables

To run this project locally, you will need to add the following environment variables to your .env file. These can be found in your Supabase project settings under API.

VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key

You can start by copying the example file:

cp .env.example .env

Running the Application Locally

  1. Clone the project:

    git clone <repository-url>
    cd Chat-App
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev

Available Scripts

In the project directory, you can run:

  • npm run dev - Starts the Vite development server.
  • npm run build - Builds the app for production using TypeScript and Vite.
  • npm run lint - Runs ESLint to check for code issues.
  • npm run preview - Boots up a local static web server that serves the files from dist to preview the production build.
image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors