jsonapi-store-relationaldb

v4.0.0
Relational data store for jsonapi-server.
json:api jsonapi persistence store mysql postgres mssql

test

bash -c './setupDatabase.sh jsonapi-relationaldb-test $SEQUELIZE_DIALECT && mocha --exit --timeout 20000 -R spec ./test/*.js'

start

node example/server.js

coveralls

mocha --exit --require blanket --reporter mocha-lcov-reporter ./test/*.js | ./node_modules/coveralls/bin/coveralls.js

coverage

mocha --exit --timeout 20000 --require blanket --reporter html-cov ./test/*.js > coverage.html || true

complexity

plato -r -d complexity lib

performance

node --allow-natives-syntax --harmony ./node_modules/mocha/bin/_mocha --reporter mocha-performance ./test/*.js

lint

eslint ./example/*.js ./lib/* ./test/*.js --quiet && echo '✔ All good!'

ci

npm run lint && SEQUELIZE_DIALECT=mysql npm run test && SEQUELIZE_DIALECT=postgres npm run test

Metadata

  • MIT
  • >=4.5
  • Oliver Rumbelow
  • released 10/9/2017

Downloads