Simple API with the HATEOAS structure, to make the API resource available to be explored and consumed.
-
Node.js version:
NODE.JS >= 12.18.3
-
Npm version:
NPM >= 6.14.8
-
.Env:
Rename the "env.example" file to ".env" and enter the settings.
-
In the project directory, execute the command below:
npm i
-
Populate the database, execute the command below:
npx sequelize db:seed:all
-
In the project directory, execute the command below:
npm run dev
-
Generate API test report:
npm test -- --coverage
-
Run tests:
npm run test