#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.3] - Thu Jul 28 13:02:57 2016 +0200
Changed
- updates request and moment dependencies:
- "moment": "2.0.0",
+ "moment": "2.14.1",
- "request": "2.12.0",
+ "request": "2.74.0",