A real-time chat application built with React and Firebase as a learning project to understand core React concepts like state management, hooks, and component architecture. Features authentication, messaging, and media sharing to demonstrate practical implementation of these concepts.
https://react-chat-app-0vk7.onrender.com
- 🔐 Google Firebase Authentication
- 💬 Realtime Database for instant messaging
- 📁 Firebase Storage for file uploads
- 🎨 Responsive UI with custom themes
- 👤 User profile management
This project uses Firebase's free Spark plan with:
- Authentication (Google)
- Realtime Database
- Cloud Storage
- Create a Firebase project at console.firebase.google.com
- Enable Authentication, Realtime Database and Storage
- Copy your config from Firebase console to
src/config/firebase.js:
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_AUTH_DOMAIN",
databaseURL: "YOUR_DATABASE_URL",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_STORAGE_BUCKET",
messagingSenderId: "YOUR_SENDER_ID",
appId: "YOUR_APP_ID"
};- Clone the repository
git clone https://github.com/sahilsonvane/react-chat-app.git- Install dependencies
npm install- Set up Firebase configuration
cp .env.example .env
# Fill in your Firebase credentials- Run the development server
npm run devPull requests are welcome!
MIT
