This project was generated with Nest CLI version 7.0.0
Use npx
to run the commands.
The project was generated using the command npx -p @nestjs/cli new APP_NAME
Run npx ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Now npx
will now use the local @nestjs/cli
version from node_modules
.
Check if .production.env
exists and it has the expected variables or if the environment variables from .sample.env are all set.
$ nvm use #optional, but the min version of NodeJS should match the version from .nvmrc
$ nvm install(optional)
$ npm ci
$ npm run build
$ npm run start:prod
Check if .development.env
exists and it has the expected variables
- Switch to node verison >= the one mentioned in
.nvmrc
- Install the dependencies
npm ci
ornpm i
- Run in dev mode
npm run start:dev
Check if .development.env
exists and it has the expected variables
- Open VSCode
- All the settings are in
.vscode/launch.json
, so update them if you thing that is required - In
Run and Debug
panel, choose and runDebug App
npm run test
- to run all the test files
npm run lint
- to lint the code
The UAT data can be found in data
folder in JSON format.