Skip to content

Firechat is a tiny chat application to demonstrate the use of apollo-link-webworker and firebase to handle graphql on the client side only

Notifications You must be signed in to change notification settings

cerbugabriel/firechat

 
 

Repository files navigation

Firechat is a tiny chat application to demonstrate the use of apollo-link-webworker and firebase to handle graphql on the client side only

Installing

git clone https://github.com/PCreations/firechat.git
cd firechat
cp .env .env.local
yarn

Create your own firebase project

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"

Starting and deploying

yarn start // localhost
yarn deploy // deploying on firebase hosting

About

Firechat is a tiny chat application to demonstrate the use of apollo-link-webworker and firebase to handle graphql on the client side only

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.1%
  • HTML 4.9%
  • Other 1.0%