Skip to content

About

A modern, real-time chat application that allows users to sign in, join specific chat rooms, and exchange messages instantly. This project demonstrates the power of Firebase Firestore for real-time data synchronization and React for building a dynamic user interface

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

🚀 Real-Time Chat Application

A modern, real-time chat application that allows users to sign in, join specific chat rooms, and exchange messages instantly. This project demonstrates the power of Firebase Firestore for real-time data synchronization and React for building a dynamic user interface.


✨ Features

  • ✅ Google Authentication – Secure sign in using your Google account
  • 💬 Real-Time Messaging – Messages appear instantly for all users in the same room
  • 📚 Room-Based Chat – Join or create new chat rooms for focused conversations
  • 🎨 Intuitive UI – Clean, modern interface designed with Tailwind CSS
  • 📱 Responsive Design – Works seamlessly on desktop and mobile devices

📸 Screenshots

Home Page Sign-In Page Room Selection Page Chat Page
Image Image Image Image

💻 Technologies Used

  • Frontend: React.js
  • Styling: Tailwind CSS
  • State Management: React Hooks (useState, useRef)
  • Authentication & Database: Firebase (Authentication & Firestore)
  • Bundler: Vite
  • Package Manager: npm
  • Cookies Management: universal-cookie

🛠️ Getting Started

Prerequisites

Local Setup

  1. Clone the repository

    git clone https://github.com/AdwinTS/Real_time_Chat_Application.git
    cd Real_time_Chat_Application
  2. Install dependencies

    npm install
  3. Firebase Configuration

    • Create a new project in Firebase Console
    • Enable Google Sign-in Provider under Authentication
    • Create a Firestore Database and configure security rules
    • Copy Firebase SDK config from Project Settings
  4. Create a .env.local file in the root and add your Firebase credentials:

    VITE_FIREBASE_API_KEY="YOUR_API_KEY"
    VITE_FIREBASE_AUTH_DOMAIN="YOUR_AUTH_DOMAIN"
    VITE_FIREBASE_PROJECT_ID="YOUR_PROJECT_ID"
    VITE_FIREBASE_STORAGE_BUCKET="YOUR_STORAGE_BUCKET"
    VITE_FIREBASE_MESSAGING_SENDER_ID="YOUR_MESSAGING_SENDER_ID"
    VITE_FIREBASE_APP_ID="YOUR_APP_ID"
  5. Start development server

    npm run dev

    App will run at http://localhost:5173


🚀 Deployment

Deploy your app easily using Vercel:

  1. Push your code to a new GitHub repository
  2. Go to Vercel Dashboard
  3. Click New Project → Import Git Repository
  4. Select your repository and click Deploy
  5. Add Firebase config as Environment Variables in project settings
  6. Trigger deployment, and your app will be live!

🎉 Enjoy your real-time chat experience!


About

A modern, real-time chat application that allows users to sign in, join specific chat rooms, and exchange messages instantly. This project demonstrates the power of Firebase Firestore for real-time data synchronization and React for building a dynamic user interface

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages