@eoko/api-utils
v1.0.6
Published
Eoko Utils used for Eoko's API
Downloads
3
Readme
eoko-api-models
Eoko base models used for api
Installation
$ npm install --save eoko-api-models
Configuration
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 mongo
All test configuration can be done using env
variables. A sample file
is already configured in /tests/.env
.