Github User Repositories demo application.
$ git clone https://github.com/NickSun/nestjs-demo.git
$ cd nestjs-demo
$ cp .env.dist .env
$ docker-compose up
Check 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:cov
You 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.sh
To remove all AWS infrastructure run:
$ ./cloudformation-delete-stack.sh