/test-unicef

Primary LanguageTypeScript

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Features

[x] Input Validation (transformation)
[x] Exception Handling
- High performance with `fastify`

Development

[x] Hot Reload
[x] Open API v3 + Swagger
    - automatic class generation

Security

- CORS enabled
- CSRF protection with `csurf`

Todos

[5] Prisma ORM with Azure SQL + shadowDB
    [ ] prisma-dbml-generator
    [x] prisma-erd-generator
    [x] prisma-class-generator
[ ] Users
    [ ] Guards (RBAC)
    [ ] CASL isomorphic authorization
[ ] oAuth2
[ ] health checks
[ ] compodoc

License

Nest is MIT licensed.