Github User Repositories demo application.
$ git clone https://github.com/NickSun/nestjs-demo.git
$ cd nestjs-demo
$ cp .env.dist .env$ docker-compose upCheck that http://localhost:3000/api/ works.
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# e2e test coverage
$ npm run test:e2e:covYou have to set proper value for the AWS_REGION and for the AWS_ECR_REPOSITORY_DOMAIN_URI variable in the .env file before deploy.
After that run:
$ ./cloudformation-create-stack.shTo remove all AWS infrastructure run:
$ ./cloudformation-delete-stack.sh