![Staart API](https://raw.githubusercontent.com/staart/staart.js.org/master/assets/svg/api.svg?sanitize=true)
⚠️ This repository contains a development version of Staart API written using NestJS. This is unsupported, incomplete, and should only be used on your own risk. Visit stable repository →
|
Status |
Build |
![Azure Pipelines](https://camo.githubusercontent.com/91d66bd3cd8f42371e3a8ad8901e12009767ab59405c30c042b8eaeac3a5d70a/68747470733a2f2f6465762e617a7572652e636f6d2f7374616172742f6170692d76322f5f617069732f6275696c642f7374617475732f7374616172742e6170692d76323f6272616e63684e616d653d6d6173746572) |
Dependencies |
![FOSSA Status](https://camo.githubusercontent.com/db643710dabf3e3858dd8c3d295e798193c4e51fc4330063a346443a15743658/68747470733a2f2f6170702e666f7373612e636f6d2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532467374616172742532466170692d76322e7376673f747970653d736869656c64) |
Community |
![Type definitions](https://camo.githubusercontent.com/b655da8d124c60ec2f861b2a43d9e905d8d0f045e6035bf6fc91eadc62bc4b24/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74797065732d547970655363726970742d626c75652e737667) |
- OpenAPI JSON endpoint and Swagger UI
- TypeORM as database driver wirh ORM
- CRUD filtering, pagination, sorting, relations, cache
- Authentication
- Check if password has been pwned
# 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
# test coverage
$ npm run test:cov
- Remove
"no-console": false
rule from tslint.json
- Migrate TSLint to ESLint
- Remove
--forceExit
flag from Jest test, add afterAll()
to close geolocation