Socket
Socket
Sign inDemoInstall

fire-functions-cli

Package Overview
Dependencies
195
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fire-functions-cli

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


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
7.29 MB
Created
Weekly downloads
 

Readme

Source

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 --
};

FAQs

Last updated on 15 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc