- Copy
config.example.yml
toconfig.yml
inconfig
directory npm ci
npm run start:dev
You can access generated swagger page at http://localhost:{http.port}/docs
(By default http.port
is specified in config.example.yml
as 8000
).
- Block adoption for people under 18 years old. (
adoption-manager.spec.ts
) - Cats should have
age
property inside the db and it should be nullable. (entities.spec.ts
) - There can't be two cats that have the same name/breed pair assigned (
entities.spec.ts
) - Paginated data should also contain data about currently viewed page (
infra.spec.ts
)
$ npm run test # run tests
$ npm run start:dev # start an application