node package manager

fh-mbaas-api

FeedHenry MBAAS Cloud APIs

Overview

fh-mbaas-api provides FeedHenry MBaaS APIs to Node.js cloud apps.

Project Info
License: Apache License, Version 2.0
Build: npm
Documentation: http://docs.feedhenry.com/v3/api/cloud_api.html
Issue tracker: https://issues.jboss.org/projects/FH/summary
Mailing list: feedhenry-dev (subscribe)
IRC: #feedhenry channel in the freenode network.

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