Test repo for calculating trip cost using hexagonal architecture.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
- Would write stub services for external policy and notification endpoints.
- Injected a logger instead of using console.log/debug
- Error handling queue would be implemented
- Error descriptions (e.g. on duplicate trip submit) would be accurate, rather than generic 500 error