jsonapi-store-sequelize

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

test

./setupDatabase.sh jsonapi-relationaldb-test $SEQUELIZE_DIALECT && ./node_modules/mocha/bin/mocha --timeout 20000 -R spec ./test/*.js

start

node example/server.js

coveralls

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

coverage

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

complexity

./node_modules/plato/bin/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
  • >= 6
  • Arnav Gupta
  • released 9/27/2017

Downloads

Maintainers