- Node.js >= v4
- npm >= v3.3.x
- CouchDB 1.6.1
Clone the project and then run the following command in order to get a working build environment.
npm installAlso don't forget to start your CouchDB server.
The default configuration can be found in config.dist.json. You can override it by creating a local config.json.
If you want to build the whole project, run the two following commands. Otherwise, see further explanations.
npm run build
npm run pushFollowing the facade design pattern, all the api is described here with the routing.
npm run build:facade
npm run push:facadenpm run build:service-display
npm run push:service-displayResponsible for the storage of documents, CRUD operations.
npm run build:service-document
npm run push:service-documentProvide push notifications for document consumers.
npm run build:service-notification
npm run push:service-notificationnpm run build:service-redirection
npm run push:service-redirectionnpm run build:service-remote-browser
npm run push:service-remote-browserProvide list of types and json schema
npm run build:facade
npm run push:facadeTo start, follow the route exposed by the facade. By default, it should be http://localhost:5984/ilayer/_design/facade/_rewrite/beta