Skip to content

Cloud Functions for Firebase that automatically runs backend code in response to events triggered by Firebase features and HTTPS requests

License

Notifications You must be signed in to change notification settings

DoorTwoDoor/cloud-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Functions

About

This repository contains a collection of Cloud Functions for Firebase that automatically runs backend code in response to events triggered by Firebase features and HTTPS requests.

Getting Started

  1. Install Node.js for your platform.
  2. Install Yarn for your platform.
  3. Clone a copy of the repository into the current directory.
git clone https://www.github.com/doortwodoor/cloud-functions
  1. Navigate to the newly clone reponsitory.
cd cloud-functions
  1. Install all dependencies.
yarn install
  1. Install the Firebase CLI globally.
yarn global add firebase-tools
  1. Sign into Firebase using your Google account.
firebase login
  1. Start the watcher to automatically compile code when a source file changes.
yarn run watch

Deployment

  1. Create the production build.
yarn run build
  1. Deploy the functions.
yarn run deploy

Logs Viewing

View logs with the Firebase CLI tool.

yarn run logs

License

Cloud Funtions is licensed under the Apache-2 License.

Releases

No releases published

Packages

No packages published