Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 828 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 828 Bytes

Caronaboard Firebase Functions

This repo holds the backend functions for caronaboard firebase, for triggering notifications for example

Deploy and test

This sample comes with a web-based UI for testing the function. To test it out:

  1. You must have the Firebase CLI installed. If you don't have it install it with npm install -g firebase-tools and then configure it with firebase login.
  2. Configure the CLI locally by using firebase use --add and select the project in the list.
  3. Install dependencies locally by running: cd functions; npm install; cd -
  4. Test it locally with firebase serve --only functions
  5. Deploy your project using firebase deploy
  6. Open the app using firebase open hosting:site, this will open a browser.
  7. Start following a user, this will send a notification to him.