egg-firebase
Install
$ npm i egg-firebase --save
Usage
// {app_root}/config/plugin.jsexportsfirebase = enable: true package: 'egg-firebase';
Configuration
// {app_root}/config/config.default.jsexportsfirebase = client: credential: database: 'your database url' collection: 'your collection name for test connection' app: true agent: false;
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.