POC Nest framework TypeScript.
- NestJS
- TypeORM
- MySql
- DDD
- CQRS
- Unit Test
- Application Test
- Integration Test (e2e)
- Serverless
- Docker
- Multi Environment
$ npm install
$ npm install -g serverless
There is a docker-compose.yml file for starting Docker.
docker-compose up
After running the sample, you can stop the Docker container with
docker-compose down
# development
$ npm run build
$ npm start
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
It's necessary to change DB_PASSWORD in .env.production
# production
$ npm run deploy
https://80eacm4nci.execute-api.us-east-1.amazonaws.com/production/
- Author - Vicente Fernández Antolín