Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fh-mbaas-middleware

feedhenry92Apache-2.02.3.5

Module for fh-mbaas as a service

readme

fh-mbaas-middleware - FeedHenry MBaaS Middleware config

  • Create a module that can be used by both fh-mbaas and the new fh-mbaas-service (for openshift)

Testing

  • Execute 'grunt fh:test' for testing. Some tests for fh-mbaas have been carried over to this package (library access)
  • Before running the grunt fh:test (fh:test will execute unit,accept and integrate) command, make sure you have a local instance (port 27017) of mongdb running.

Open a mongo shell and execute the following

use admin
db.addUser('admin','admin'); # for version 2.4.6
db.createUser({ user: "admin",pwd: "admin",roles: [ { role: "clusterAdmin", db: "admin" }, { role: "readWriteAnyDatabase", db: "admin" },"readWrite"] }, { w: "majority" , wtimeout: 25000 }); # for versions 2.6.4 or greater
exit

License

fh-mbaas-middleware is licensed under the Apache License, Version 2.0.