├── .dockerignore ├── .env ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── Dockerfile ├── README.md ├── docker-compose.yml ├── nest-cli.json ├── nodemon.json ├── ormconfig.ts ├── package.json ├── src ├── app.controller.spec.ts ├── app.controller.ts ├── app.module.ts ├── app.service.ts ├── auth │ ├── auth.controller.ts │ ├── auth.dto.ts │ ├── auth.module.ts │ ├── auth.service.ts │ └── jwt.strategy.ts ├── config │ ├── config.default.ts │ ├── config.interface.ts │ ├── config.module.ts │ └── config.service.ts ├── database │ ├── database.module.ts │ ├── db.error.ts │ └── db.interface.ts ├── entities │ ├── Category.ts │ ├── Tag.ts │ ├── comment.ts │ ├── post.ts │ └── user.ts ├── guards │ └── seller.guard.ts ├── main.ts ├── post │ ├── post.controller.ts │ ├── post.dto.ts │ ├── post.module.ts │ └── post.service.ts ├── shared │ ├── http-exception.filter.ts │ ├── logging.interceptor.ts │ ├── shared.module.ts │ └── user.service.ts ├── swagger │ ├── swagger.config.ts │ ├── swagger.interface.ts │ └── swagger.ts └── types │ ├── order.ts │ ├── payload.ts │ ├── product.ts │ └── user.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/nest-cli.json -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/nodemon.json -------------------------------------------------------------------------------- /ormconfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/ormconfig.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/package.json -------------------------------------------------------------------------------- /src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/app.controller.spec.ts -------------------------------------------------------------------------------- /src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/app.controller.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/app.service.ts -------------------------------------------------------------------------------- /src/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/auth/auth.controller.ts -------------------------------------------------------------------------------- /src/auth/auth.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/auth/auth.dto.ts -------------------------------------------------------------------------------- /src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/auth/auth.module.ts -------------------------------------------------------------------------------- /src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/auth/auth.service.ts -------------------------------------------------------------------------------- /src/auth/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/auth/jwt.strategy.ts -------------------------------------------------------------------------------- /src/config/config.default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/config/config.default.ts -------------------------------------------------------------------------------- /src/config/config.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/config/config.interface.ts -------------------------------------------------------------------------------- /src/config/config.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/config/config.module.ts -------------------------------------------------------------------------------- /src/config/config.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/config/config.service.ts -------------------------------------------------------------------------------- /src/database/database.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/database/database.module.ts -------------------------------------------------------------------------------- /src/database/db.error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/database/db.error.ts -------------------------------------------------------------------------------- /src/database/db.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/database/db.interface.ts -------------------------------------------------------------------------------- /src/entities/Category.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/entities/Category.ts -------------------------------------------------------------------------------- /src/entities/Tag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/entities/Tag.ts -------------------------------------------------------------------------------- /src/entities/comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/entities/comment.ts -------------------------------------------------------------------------------- /src/entities/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/entities/post.ts -------------------------------------------------------------------------------- /src/entities/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/entities/user.ts -------------------------------------------------------------------------------- /src/guards/seller.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/guards/seller.guard.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/post/post.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/post/post.controller.ts -------------------------------------------------------------------------------- /src/post/post.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/post/post.dto.ts -------------------------------------------------------------------------------- /src/post/post.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/post/post.module.ts -------------------------------------------------------------------------------- /src/post/post.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/post/post.service.ts -------------------------------------------------------------------------------- /src/shared/http-exception.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/shared/http-exception.filter.ts -------------------------------------------------------------------------------- /src/shared/logging.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/shared/logging.interceptor.ts -------------------------------------------------------------------------------- /src/shared/shared.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/shared/shared.module.ts -------------------------------------------------------------------------------- /src/shared/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/shared/user.service.ts -------------------------------------------------------------------------------- /src/swagger/swagger.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/swagger/swagger.config.ts -------------------------------------------------------------------------------- /src/swagger/swagger.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/swagger/swagger.interface.ts -------------------------------------------------------------------------------- /src/swagger/swagger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/swagger/swagger.ts -------------------------------------------------------------------------------- /src/types/order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/types/order.ts -------------------------------------------------------------------------------- /src/types/payload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/types/payload.ts -------------------------------------------------------------------------------- /src/types/product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/types/product.ts -------------------------------------------------------------------------------- /src/types/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/src/types/user.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkssharma/Nestjs-tutorials-beginners/HEAD/tsconfig.json --------------------------------------------------------------------------------