/firebase-functions-api

Get started with Cloud Functions For Firebase, Firebase Realtime Database and Cloud Firestore.

Primary LanguageJavaScript

firebase-functions-api

Get started with Cloud Functions For Firebase, Firebase Realtime Database and Cloud Firestore.

Setup

  1. Install Node.js
  2. Create a project on Firebase and note down the Project ID
  3. Replace the project id in the .firebaserc with your Project ID

Install

npm install

Configure

npm run config:get
OPEN_WEATHER_MAP_KEY={KEY} npm run config:set

Test

npm test

Build

npm run build
npm run build:watch

Start

npm start
npm run start:shell

Deploy

npm run deploy

Presentation

https://goo.gl/6oRm8t

Learn More

Firebase Realtime Database

Firebase Cloud Firestore

Firebase Cloud Functions