Package Exports
- backend-manager
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (backend-manager) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Backend Manager
Backend Manager is an NPM module for Firebase developers that instantly implements powerful backend features. Be sure to look at which functions it exposes before using it!
Install
Install with npm:
npm install backend-manager
Features
- Automatically create and deploy powerful management and marketing functions
- Automatically keep your Firebase dependencies up to date
Example Setup
After installing via npm, simply paste this script in your Firebase functions/index.js
file.
// In your functions/index.js file
const Manager = require('backend-manager');
exports.Manager = Manager.init(exports, {
initializeApp: true
});
const {functions, admin, cors, lodash, Assistant} = Manager.libraries;
Next, run the setup command to allow backend-manager
to configure your Firebase project with best practices and help keep your dependencies up to date!
bm setup
Your project will not be checked for errors and any tips and fixes will be provided to you!
Example CLI Usage
bm v
: Check version of backend-manager.bm setup
: Runs some checks and sets up your Firebase project.bm config:get
: Save Firebase config to your project.bm config:set
: Start an interface for setting a config value. You'll be prompted for thepath
andvalue
.bm config:delete
: Start an interface for deleting a config value. You'll be prompted for thepath
.bm serve <port>
: Serve your Firebase project, defaults to port 5000.bm test
: Run Firebase test.js
files in the./test
directory.bm i local
: Install local copies of this important module:backend-manager
.bm i production
: Install production copies of this important module:backend-manager
.bm deploy
: Deploy the functions of your Firebase project.bm clean:npm
: Delete, clean, and reinstall npm modules.
Final Words
If you are still having difficulty, we would love for you to post a question to the Backend Manager issues page. It is much easier to answer questions that include your code and relevant files! So if you can provide them, we'd be extremely grateful (and more likely to help you find the answer!)
Projects Using this Library
Somiibo: A Social Media Bot with an open-source module library.
JekyllUp: A website devoted to sharing the best Jekyll themes.
Slapform: A backend processor for your HTML forms on static sites.
SoundGrail Music App: A resource for producers, musicians, and DJs.
Hammock Report: An API for exploring and listing backyard products.
Ask us to have your project listed! :)