├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── nest-cli.json ├── package.json ├── src ├── app.controller.spec.ts ├── app.controller.ts ├── app.module.ts ├── app.service.ts ├── common │ ├── parse-int.pipe.spec.ts │ └── parse-int.pipe.ts ├── controllers │ ├── categories.controller.spec.ts │ ├── categories.controller.ts │ ├── products.controller.spec.ts │ └── products.controller.ts ├── dtos │ └── products.dtos.ts ├── entities │ └── product.entity.ts ├── main.ts ├── recap.ts └── services │ ├── products.service.spec.ts │ └── products.service.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/README.md -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/package.json -------------------------------------------------------------------------------- /src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/app.controller.spec.ts -------------------------------------------------------------------------------- /src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/app.controller.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/app.service.ts -------------------------------------------------------------------------------- /src/common/parse-int.pipe.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/common/parse-int.pipe.spec.ts -------------------------------------------------------------------------------- /src/common/parse-int.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/common/parse-int.pipe.ts -------------------------------------------------------------------------------- /src/controllers/categories.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/controllers/categories.controller.spec.ts -------------------------------------------------------------------------------- /src/controllers/categories.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/controllers/categories.controller.ts -------------------------------------------------------------------------------- /src/controllers/products.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/controllers/products.controller.spec.ts -------------------------------------------------------------------------------- /src/controllers/products.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/controllers/products.controller.ts -------------------------------------------------------------------------------- /src/dtos/products.dtos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/dtos/products.dtos.ts -------------------------------------------------------------------------------- /src/entities/product.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/entities/product.entity.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/recap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/recap.ts -------------------------------------------------------------------------------- /src/services/products.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/services/products.service.spec.ts -------------------------------------------------------------------------------- /src/services/products.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/src/services/products.service.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/nestjs-modular/HEAD/tsconfig.json --------------------------------------------------------------------------------