#Overview
fh-mbaas-api provides FeedHenry MBaaS APIs to Node.js cloud apps.
#Usage
fh-mbaas-api is included as standard with your cloud app code.
For custom apps, add the module via npm by running the following for the root of your app
npm install --save fh-mbaas-api
This will install the latest version of fh-mbaas-api and save the installed version in your package.json
#Documentation
Documentation for the $fh cloud API is maintained at the FeedHenry API Docs.
#Deprecated
Legacy Rhino functions have been deprecated. These are listed below - with their replacements in bold. All replacements listed but '$fh.web' have drop-in replacements available.
- $fh.web -> request
- $fh.log -> console.log
- $fh.parse -> JSON.parse
- $fh.stringify JSON.stringify
#Tests
Before running tests do:
npm install
npm install -g grunt-cli
Then to run the tests use grunt fh:test
On Windows, use npm run testwindows
[5.13.10] - Tue Aug 30 13:58:27 2016
Changed
- fh-db bumped to use new version as was no way to delete collections or bulk delete data in Data Browser:
- "fh-db": "1.1.2",
+ "fh-db": "1.2.0",