0.1.9 • Published 7 years ago

fire-functions-cli v0.1.9

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Alt text

FireFunctions-CLI Build Status

Starter kit for Firebase Functions

Features

  • Firebase Authentication Token Validator
  • Realtime Database CRUD
  • Connect to other Google Cloud Services
  • Base on Express.js
  • Typing TypeScript!!

Usage

Create an account at https://firebase.google.com/

Pre-Setup FireFunctions

  • Install Yarn if you don't have Yarn installed brew install yarn
  • Install Firebase Tools if you don't already have it installed npm install -g firebase-tools or sudo npm install -g firebase-tools

Setup FireFunctions

  • npm i -g fire-functions-cli
  • Run firefunc new <projectName> (CamelCase or kebab-case)
  • Now, initialize Firebase Functions
  • And final step: Deploy firefunc deploy

Now, you are all set!

Getting Started With FireFunctions

Working with FireFunctions makes Firebase Functions delpoy very easy. All your code goes in ./src folder. Where all your express API code will go under ./src/api, model creation will go under ./src/model, trigger creation will go under ./src/triggers and all other library initializtion will go under ./src/lib.

Full documentation will be updated soon.

Create the environment files below in ./src/environments

environment.ts

exports.environment = {
  -- ALL YOUR GLOBLE VALUES --
};
0.1.9

7 years ago

0.1.8

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago