api config features - wwwsolutions/nestjs-starter-kit GitHub Wiki

api-config-features

Utilize Nest config service with validation.

Features

  • validation
  • injectable

Install

yarn add @nestjs/config@^1.1.0
yarn add joi@^17.4.2
yarn add @nestjs/[email protected]

Generate

// generate config lib
yarn nx generate @nrwl/nest:library --name=features --directory=api/config --buildable --standaloneConfig --strict --tags=type:config --no-interactive