Starter kit using nestjs with serverless
This application uses the Nest web app framework for implementing the API and the Serverless CLI for managing deployments to AWS.
This is a Nest web app deployable as a lambda function.
Do a find and replace to replace the string <project-name>
, including the brackets, with your project name.
Requires serverless installed on your mac
$ npm i -g serverless
$ npm ci
# run locally
$ 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
# deploy from your mac
$ npm run sls:deploy
# teardown / delete deployment
$ npm run sls:remove