Firechat is a tiny chat application to demonstrate the use of apollo-link-webworker and firebase to handle graphql on the client side only
git clone https://github.com/PCreations/firechat.git
cd firechat
cp .env .env.local
yarn
Accept the Github authentication in the authentication settings of your project. Then you will have to edit some configuration file with your information :
firechat/.firebaserc
{
"projects": {
"default": "YOUR_PROJECT_NAME"
}
}
firechat/.env.local
REACT_APP_FIREBASE_API_KEY="YOUR API KEY"
REACT_APP_FIREBASE_AUTH_DOMAIN="YOUR AUTH DOMAIN"
REACT_APP_FIREBASE_DATABASE_URL="YOUR DATABASE URL"
REACT_APP_FIREBASE_PROJECT_ID="YOUR PROJECT ID"
yarn start // localhost
yarn deploy // deploying on firebase hosting