Download the example or clone the repo:
curl https://github.com/fecalemos/AppAccessibilityDeaf/archive/master.zip
cd AppAccessibilityDeaf
Set up firebase:
- create a project
- get your service account credentials and client credentials and set both in firebaseCredentials.js
- set your firebase database url in server.js
- on the firebase Authentication console, select Google as your provider
Install it:
npm install
And run:
To build a version for production
npm run build
To run the serer in production
npm run start
To start a local server for development
npm run dev
The goal is to authenticate users with firebase and store their auth token in sessions. A logged in user will see their messages on page load and then be able to post new messages.