Chat App created with React & Firebase.
- Google sign in
- Toggle dark / light theme
- Create and delete private chats
- Create, manage, leave and delete public chats
- Responsive design
git clone https://github.com/michalosman/chat-app-firebase.git
cd chat-app-firebase
npm install
npm start
- Create a Firebase project
- Go to Firebase → Get Started → Add project
- Register your app
- Go to Project overview → Choose </> (Web App)
- Enable Google Sign in
- Go to Authentication → Get Started → Sign-in method → Enable Google
- Enable Firestore
- Go to Firestore Database → Create database
- Setup project
- Go to Project settings → General → Your apps → SDK setup and configuration → Config
- Create a .env.local file in project's root directory
- Paste code below and provide your keys found in Config
REACT_APP_API_KEY={apiKey}
REACT_APP_AUTH_DOMAIN={authDomain}
REACT_APP_PROJECT_ID={projectId}
REACT_APP_STORAGE_BUCKET={storageBucket}
REACT_APP_MESSAGING_SENDER_ID={senderId}
REACT_APP_APP_ID={appId}

