javilobo8 / api-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api-example

'Basic' api project in NodeJS.

Installation

yarn install

or

npm install

Tests

Running tests

npm test

Running coverage

npm run coverage

TODO

  • Somehow, intialiazing tests on product controller calls to mongodb-memory-server to attempt downloading mongod binaries and tests fails. It success on next execution.
  • DONE Add authentication middleware
  • DONE Add authenticated route option
  • DONE Add application configuration
  • Add Dockerfile
  • DONE Add coverage reporter

About


Languages

Language:JavaScript 100.0%