Based on https://github.com/simonrenoult/nodejs-application-architecture
-
backed by SQL store
- SQLite3 in dev
- Postgres in prod (
not tested
) - use env varDATABASE_URL
-
documented using Swagger:
- Swagger UI available at
/api-docs
- Swagger JSON API spec available at
/api-docs.json
- Swagger UI available at
Server will listen on port 3000
by default (can be overridden with environment variable PORT
)
$ yarn start
$ yarn test
$ yarn run lint
Copyright (c) 2018 Stefan Tertan.