A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ yarn install
Please make sure the docker client is initialized on your PC and:
$ docker-compose up
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
NestJs is fully inspired from Angular.
If you want more guidelines (for the naming...) here is the original documentation.
Recommended folder and file structure :
. └── src ├── app.controller.ts ├── app.js ├── app.module.ts ├── app.service.ts ├── environments ├── api │ ├── auth │ │ ├── auth.controlleer.ts │ │ ├── auth.module.ts │ │ ├── auth.servicee.ts │ │ ├── dto │ │ ├── entities │ │ └── interfaces │ └── users │ ├── dto │ ├── entities │ ├── interfaces │ ├── users.controller.ts │ └── users.module.ts └── shared ├── config ├── decorators ├── footer └── guards
# OFFLINE
$ sls offline start
# deploy AWS
$ sls deploy
- Lamentablemente he estado ocupadísima el fin de semana, revisé el correo y me di cuenta que la fecha límite era el domingo a la media noche, ya era muy tarde, y estaba concentrada en otra tarea X.
Para esta entrega consideré:
- Principios Solid.
- Agregué el Swagger para la documentación SWAGGER.
- Configuración de interceptores y decoradores.
- Configuré una base de datos mysql para el local con un docker-compose.
(**) Considero que hay cosas por completar como mayor detalle en la documentación