A lightweight real-time chat application built with React, TypeScript, and Firebase.
- User authentication (email/password and Google sign-in)
- Create and join chat rooms with unique codes
- Real-time messaging
- Member presence tracking
- React with TypeScript
- Firebase (Authentication, Firestore)
- Tailwind CSS
- Clone the repository
- Navigate to the frontend directory:
cd ChRoom/frontend - Install dependencies:
npm install - Create a
.envfile with your Firebase configuration: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 - Run the development server:
npm run dev
- Create an account or sign in with Google
- Create a new chat room or join an existing one with a room code
- Start chatting!