1.0.6 • Published 9 years ago
@eoko/api-utils v1.0.6
eoko-api-models 
Eoko base models used for api
Installation
$ npm install --save eoko-api-modelsConfiguration
All configuration must be done using env variables. A sample file .env.dist
can be found in the project root.
Usage
var eokoApiModels = require('eoko-api-models');
eokoApiModels('Rainbow');Test
Test are ran against mongo database. You can use a docker image to do that :
$ docker pull mongoAll test configuration can be done using env variables. A sample file
is already configured in /tests/.env.