philippkrauss / tryout-nest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Nest framework TypeScript starter repository.

Installation

$ yarn install

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

License

Nest is MIT licensed.

open questions

  • configuration
  • testing

closed questions

  • how to implement common checks / code-reuse
    • validators, transformations, pipes, guards
  • logging, requestId logging
    • middlewares, request scope
  • extensibility, plugins
    • express plugins work
  • authentication
    • guards
  • body parsing / validation
    • validators, transformations, pipes
  • error handling
    • filter
  • rendering
    • objects are auto-converted to json
  • request headers
    • use of underlying express request
    • @Headers decorator
  • response headers
    • use of express response with passThrough flag

About


Languages

Language:TypeScript 93.3%Language:JavaScript 6.7%