Skip to content

Ali-Haggag7/Realtime-Chat-Engine

Repository files navigation

💬 Realtime Chat Engine

A high-performance, Serverless Messaging Architecture built with React & Vite. Powered by Firebase for instant data syncing and Cloudinary for optimized media handling.


Project Preview

🔥 Key Features

⚡ Performance & Architecture

  • Serverless Backend: Fully managed backend using Firebase (Auth, Firestore/Realtime DB) for zero-maintenance scalability.
  • Instant Sync: Real-time listeners ensure messages appear instantly without page reloads.
  • Lightning Fast: Built with Vite for optimized bundling and instant HMR (Hot Module Replacement).

🎨 User Experience

  • Secure Identity: Robust authentication system managed via Firebase Auth.
  • Rich Media: Seamless image uploads and optimization using Cloudinary API.
  • Responsive UI: A clean, mobile-first interface designed for all screen sizes.

🛠️ Tech Stack

Component Technology
Frontend Core React.js, Vite, Context API
Backend (BaaS) Firebase (Firestore, Auth)
Media Engine Cloudinary (Upload Widget/API)
Styling CSS3 (Modular & Responsive)

🚀 Getting Started Locally

Follow these steps to set up the chat engine on your machine:

  1. Clone & Install
# Clone the repository
git clone [https://github.com/Ali-Haggag7/Realtime-Chat-Engine.git](https://github.com/Ali-Haggag7/Realtime-Chat-Engine.git)
cd Realtime-Chat-Engine

# Install dependencies
npm install
  1. Environment Setup (.env)
# Create a .env file in the root directory. You need to setup a Firebase project and a Cloudinary account.
  VITE_API_KEY=your_firebase_api_key
  VITE_AUTH_DOMAIN=your_project.firebaseapp.com
  VITE_PROJECT_ID=your_project_id
  VITE_STORAGE_BUCKET=your_project.appspot.com
  VITE_MESSAGING_SENDER_ID=your_sender_id
  VITE_APP_ID=your_app_id
  VITE_CLOUDINARY_CLOUD_NAME=your_cloud_name
  VITE_CLOUDINARY_UPLOAD_PRESET=your_upload_preset
  1. Run the App
# Start development server
npm run dev

The app will launch at http://localhost:5173

📸 Interface Previews

Chat Room Mobile View


Made with ❤️ by Ali Haggag



"Smooth messaging. Instant updates."

About

💬 High-performance Real-time Chat Engine built with React & Vite. Features Serverless architecture (Firebase), secure Auth, and instant media sharing (Cloudinary).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors