This project was developed using ReactJs, Socket.io and deployed to Firebase, utilizing various cloud services like Firestore, Authentication, and Hosting.
- Secure Firestore rules
- Authentication via Google OAuth
Login View | Chat Lobby View |
---|---|
You can follow these instructions to build the project.
- Setup a project in GCP Firebase
- Enabled Authentication using 'Google' Sign-in method
- Enabled Cloud Firestore
- Enabled Hosting
- Configured the .env file in root directory with your projects Firebase config
REACT_APP_API_KEY=<api key>
REACT_APP_AUTH_DOMAIN=<auth domain>
REACT_APP_PROJECT_ID=<project id>
REACT_APP_STORAGE_BUCKET=<storage bucket>
REACT_APP_MSG_SENDER_ID=<sender id>
REACT_APP_APPLICATION_ID=1:<app id>
REACT_APP_MEASUREMENT_ID=<measure id>
git clone https://github.com/amroczeK/chat-app-firebase .
npm install
npm start
npm run build && firebase deploy