Autochek Test Backend Developer Test
$ npm install
This project uses Postgres Database
- open ormconfig.json to input your database parameters
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
- The postman request sample is included (autochek.postman_collection.json)
- Validation Pipeline is setup in main.ts to validate incoming requests
-
The app can be improved by adding an authentication mechanism, so that only authorized persons can perfrom certain actions.
-
Pagination can also be added when the list of location grows large.
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Author - Enokela Acheme Paul (achemepaulenokela@gmail.com)