├── .env.template ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── DOC.md ├── README.md ├── deploy ├── restart.sh └── webhook.sh ├── document └── ztjg.jpg ├── nest-cli.json ├── package.json ├── src ├── app.module.ts ├── common │ └── logger.proxy.ts ├── configs │ ├── mysql.config.ts │ └── winston.config.ts ├── const │ └── index.ts ├── core │ ├── auto-mapper │ │ └── index.ts │ ├── dto │ │ ├── base-tree.dto.ts │ │ └── base.dto.ts │ ├── entities │ │ ├── base-document.entity.ts │ │ ├── base-tree.entity.ts │ │ └── base.entity.ts │ ├── enums │ │ └── index.ts │ └── repository │ │ ├── base-tree.repository.ts │ │ └── base.repository.ts ├── decorators │ ├── DOMPurify.transform.decorator.ts │ ├── datetime.transform.decorator.ts │ ├── pagination.decorator.ts │ ├── sensitive.validator.decorator.ts │ ├── timeago.transform.decorator.ts │ └── user.decorator.ts ├── exception │ ├── custom-exception.ts │ ├── exception.enum.ts │ ├── exception.interface.ts │ └── exception.strategy.ts ├── filters │ └── all-exception.fillter.ts ├── guards │ ├── csrf.guard.ts │ ├── passport-guards │ │ ├── jwt.guard.ts │ │ ├── jwt.strategy.ts │ │ ├── local.guard.ts │ │ ├── local.strategy.ts │ │ ├── phone.guard.ts │ │ ├── phone.strategy.ts │ │ ├── wechat.guard.ts │ │ └── wechat.strategy.ts │ └── role.guard.ts ├── interceptors │ ├── csrf.interceptor.ts │ ├── request.interceptor.ts │ ├── response.interceptor.ts │ └── response.interface.ts ├── main.ts ├── modules │ ├── admin-auth │ │ ├── admin-auth.controller.ts │ │ ├── admin-auth.module.ts │ │ └── admin-auth.service.ts │ ├── article │ │ ├── article.controller.ts │ │ ├── article.dto.ts │ │ ├── article.entity.ts │ │ ├── article.module.ts │ │ └── article.service.ts │ ├── category │ │ ├── category.controller.ts │ │ ├── category.dto.ts │ │ ├── category.entity.ts │ │ ├── category.module.ts │ │ └── category.service.ts │ ├── comment │ │ ├── comment.controller.ts │ │ ├── comment.dto.ts │ │ ├── comment.entity.ts │ │ ├── comment.enum.ts │ │ ├── comment.module.ts │ │ └── comment.service.ts │ ├── draft │ │ ├── draft.controller.ts │ │ ├── draft.dto.ts │ │ ├── draft.entity.ts │ │ ├── draft.enum.ts │ │ ├── draft.module.ts │ │ └── draft.service.ts │ ├── like │ │ ├── like.controller.ts │ │ ├── like.dto.ts │ │ ├── like.entity.ts │ │ ├── like.enum.ts │ │ ├── like.module.ts │ │ └── like.service.ts │ ├── material │ │ ├── material.controller.ts │ │ ├── material.dto.ts │ │ ├── material.entity.ts │ │ ├── material.enum.ts │ │ ├── material.module.ts │ │ └── material.service.ts │ ├── upload │ │ ├── handler │ │ │ └── image.handler.ts │ │ ├── oss │ │ │ ├── oss.service.ts │ │ │ └── qiniu.oss.service.ts │ │ ├── upload.controller.ts │ │ ├── upload.module.ts │ │ ├── upload.service.ts │ │ └── upload.type.ts │ ├── user-auth │ │ ├── user-auth.controller.ts │ │ ├── user-auth.decorator.ts │ │ ├── user-auth.interface.ts │ │ ├── user-auth.module.ts │ │ └── user-auth.service.ts │ ├── user-manage │ │ ├── user-manage.controller.ts │ │ ├── user-manage.dto.ts │ │ ├── user-manage.module.ts │ │ └── user-manage.service.ts │ ├── user-role │ │ ├── user-role.decorator.ts │ │ ├── user-role.entity.ts │ │ ├── user-role.enum.ts │ │ ├── user-role.module.ts │ │ └── user-role.service.ts │ ├── user │ │ ├── user.controller.ts │ │ ├── user.dto.ts │ │ ├── user.entity.ts │ │ ├── user.module.ts │ │ └── user.service.ts │ ├── verify-code │ │ ├── verify-code.controller.ts │ │ ├── verify-code.dto.ts │ │ ├── verify-code.entity.ts │ │ ├── verify-code.enum.ts │ │ ├── verify-code.module.ts │ │ └── verify-code.service.ts │ └── wechat-auth │ │ ├── wechat-auth.controller.ts │ │ ├── wechat-auth.interface.ts │ │ ├── wechat-auth.module.ts │ │ └── wechat-auth.service.ts ├── plugins │ ├── auto-mapper.ts │ ├── exception.plugin.ts │ ├── index.ts │ ├── init-db.plugin.ts │ ├── logger.plugin.ts │ ├── multipart.plugin.ts │ ├── security.plugin.ts │ ├── swagger.plugin.ts │ └── validate.plugin.ts ├── schedule-task │ ├── schedule-task.module.ts │ └── schedule-task.service.ts ├── types │ ├── index.ts │ └── pagination.ts └── utils │ ├── crypto.util.ts │ ├── index.ts │ └── mapper.util.ts ├── tsconfig.build.json └── tsconfig.json /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/.env.template -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/.prettierrc -------------------------------------------------------------------------------- /DOC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/DOC.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/README.md -------------------------------------------------------------------------------- /deploy/restart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/deploy/restart.sh -------------------------------------------------------------------------------- /deploy/webhook.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/deploy/webhook.sh -------------------------------------------------------------------------------- /document/ztjg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/document/ztjg.jpg -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/package.json -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/common/logger.proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/common/logger.proxy.ts -------------------------------------------------------------------------------- /src/configs/mysql.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/configs/mysql.config.ts -------------------------------------------------------------------------------- /src/configs/winston.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/configs/winston.config.ts -------------------------------------------------------------------------------- /src/const/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/const/index.ts -------------------------------------------------------------------------------- /src/core/auto-mapper/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/auto-mapper/index.ts -------------------------------------------------------------------------------- /src/core/dto/base-tree.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/dto/base-tree.dto.ts -------------------------------------------------------------------------------- /src/core/dto/base.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/dto/base.dto.ts -------------------------------------------------------------------------------- /src/core/entities/base-document.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/entities/base-document.entity.ts -------------------------------------------------------------------------------- /src/core/entities/base-tree.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/entities/base-tree.entity.ts -------------------------------------------------------------------------------- /src/core/entities/base.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/entities/base.entity.ts -------------------------------------------------------------------------------- /src/core/enums/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/enums/index.ts -------------------------------------------------------------------------------- /src/core/repository/base-tree.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/repository/base-tree.repository.ts -------------------------------------------------------------------------------- /src/core/repository/base.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/core/repository/base.repository.ts -------------------------------------------------------------------------------- /src/decorators/DOMPurify.transform.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/decorators/DOMPurify.transform.decorator.ts -------------------------------------------------------------------------------- /src/decorators/datetime.transform.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/decorators/datetime.transform.decorator.ts -------------------------------------------------------------------------------- /src/decorators/pagination.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/decorators/pagination.decorator.ts -------------------------------------------------------------------------------- /src/decorators/sensitive.validator.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/decorators/sensitive.validator.decorator.ts -------------------------------------------------------------------------------- /src/decorators/timeago.transform.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/decorators/timeago.transform.decorator.ts -------------------------------------------------------------------------------- /src/decorators/user.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/decorators/user.decorator.ts -------------------------------------------------------------------------------- /src/exception/custom-exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/exception/custom-exception.ts -------------------------------------------------------------------------------- /src/exception/exception.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/exception/exception.enum.ts -------------------------------------------------------------------------------- /src/exception/exception.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/exception/exception.interface.ts -------------------------------------------------------------------------------- /src/exception/exception.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/exception/exception.strategy.ts -------------------------------------------------------------------------------- /src/filters/all-exception.fillter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/filters/all-exception.fillter.ts -------------------------------------------------------------------------------- /src/guards/csrf.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/csrf.guard.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/jwt.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/jwt.guard.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/jwt.strategy.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/local.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/local.guard.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/local.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/local.strategy.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/phone.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/phone.guard.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/phone.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/phone.strategy.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/wechat.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/wechat.guard.ts -------------------------------------------------------------------------------- /src/guards/passport-guards/wechat.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/passport-guards/wechat.strategy.ts -------------------------------------------------------------------------------- /src/guards/role.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/guards/role.guard.ts -------------------------------------------------------------------------------- /src/interceptors/csrf.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/interceptors/csrf.interceptor.ts -------------------------------------------------------------------------------- /src/interceptors/request.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/interceptors/request.interceptor.ts -------------------------------------------------------------------------------- /src/interceptors/response.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/interceptors/response.interceptor.ts -------------------------------------------------------------------------------- /src/interceptors/response.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/interceptors/response.interface.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/modules/admin-auth/admin-auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/admin-auth/admin-auth.controller.ts -------------------------------------------------------------------------------- /src/modules/admin-auth/admin-auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/admin-auth/admin-auth.module.ts -------------------------------------------------------------------------------- /src/modules/admin-auth/admin-auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/admin-auth/admin-auth.service.ts -------------------------------------------------------------------------------- /src/modules/article/article.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/article/article.controller.ts -------------------------------------------------------------------------------- /src/modules/article/article.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/article/article.dto.ts -------------------------------------------------------------------------------- /src/modules/article/article.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/article/article.entity.ts -------------------------------------------------------------------------------- /src/modules/article/article.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/article/article.module.ts -------------------------------------------------------------------------------- /src/modules/article/article.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/article/article.service.ts -------------------------------------------------------------------------------- /src/modules/category/category.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/category/category.controller.ts -------------------------------------------------------------------------------- /src/modules/category/category.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/category/category.dto.ts -------------------------------------------------------------------------------- /src/modules/category/category.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/category/category.entity.ts -------------------------------------------------------------------------------- /src/modules/category/category.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/category/category.module.ts -------------------------------------------------------------------------------- /src/modules/category/category.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/category/category.service.ts -------------------------------------------------------------------------------- /src/modules/comment/comment.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/comment/comment.controller.ts -------------------------------------------------------------------------------- /src/modules/comment/comment.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/comment/comment.dto.ts -------------------------------------------------------------------------------- /src/modules/comment/comment.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/comment/comment.entity.ts -------------------------------------------------------------------------------- /src/modules/comment/comment.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/comment/comment.enum.ts -------------------------------------------------------------------------------- /src/modules/comment/comment.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/comment/comment.module.ts -------------------------------------------------------------------------------- /src/modules/comment/comment.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/comment/comment.service.ts -------------------------------------------------------------------------------- /src/modules/draft/draft.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/draft/draft.controller.ts -------------------------------------------------------------------------------- /src/modules/draft/draft.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/draft/draft.dto.ts -------------------------------------------------------------------------------- /src/modules/draft/draft.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/draft/draft.entity.ts -------------------------------------------------------------------------------- /src/modules/draft/draft.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/draft/draft.enum.ts -------------------------------------------------------------------------------- /src/modules/draft/draft.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/draft/draft.module.ts -------------------------------------------------------------------------------- /src/modules/draft/draft.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/draft/draft.service.ts -------------------------------------------------------------------------------- /src/modules/like/like.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/like/like.controller.ts -------------------------------------------------------------------------------- /src/modules/like/like.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/like/like.dto.ts -------------------------------------------------------------------------------- /src/modules/like/like.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/like/like.entity.ts -------------------------------------------------------------------------------- /src/modules/like/like.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/like/like.enum.ts -------------------------------------------------------------------------------- /src/modules/like/like.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/like/like.module.ts -------------------------------------------------------------------------------- /src/modules/like/like.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/like/like.service.ts -------------------------------------------------------------------------------- /src/modules/material/material.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/material/material.controller.ts -------------------------------------------------------------------------------- /src/modules/material/material.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/material/material.dto.ts -------------------------------------------------------------------------------- /src/modules/material/material.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/material/material.entity.ts -------------------------------------------------------------------------------- /src/modules/material/material.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/material/material.enum.ts -------------------------------------------------------------------------------- /src/modules/material/material.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/material/material.module.ts -------------------------------------------------------------------------------- /src/modules/material/material.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/material/material.service.ts -------------------------------------------------------------------------------- /src/modules/upload/handler/image.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/upload/handler/image.handler.ts -------------------------------------------------------------------------------- /src/modules/upload/oss/oss.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/upload/oss/oss.service.ts -------------------------------------------------------------------------------- /src/modules/upload/oss/qiniu.oss.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/upload/oss/qiniu.oss.service.ts -------------------------------------------------------------------------------- /src/modules/upload/upload.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/upload/upload.controller.ts -------------------------------------------------------------------------------- /src/modules/upload/upload.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/upload/upload.module.ts -------------------------------------------------------------------------------- /src/modules/upload/upload.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/upload/upload.service.ts -------------------------------------------------------------------------------- /src/modules/upload/upload.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/upload/upload.type.ts -------------------------------------------------------------------------------- /src/modules/user-auth/user-auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-auth/user-auth.controller.ts -------------------------------------------------------------------------------- /src/modules/user-auth/user-auth.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-auth/user-auth.decorator.ts -------------------------------------------------------------------------------- /src/modules/user-auth/user-auth.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-auth/user-auth.interface.ts -------------------------------------------------------------------------------- /src/modules/user-auth/user-auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-auth/user-auth.module.ts -------------------------------------------------------------------------------- /src/modules/user-auth/user-auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-auth/user-auth.service.ts -------------------------------------------------------------------------------- /src/modules/user-manage/user-manage.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-manage/user-manage.controller.ts -------------------------------------------------------------------------------- /src/modules/user-manage/user-manage.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-manage/user-manage.dto.ts -------------------------------------------------------------------------------- /src/modules/user-manage/user-manage.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-manage/user-manage.module.ts -------------------------------------------------------------------------------- /src/modules/user-manage/user-manage.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-manage/user-manage.service.ts -------------------------------------------------------------------------------- /src/modules/user-role/user-role.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-role/user-role.decorator.ts -------------------------------------------------------------------------------- /src/modules/user-role/user-role.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-role/user-role.entity.ts -------------------------------------------------------------------------------- /src/modules/user-role/user-role.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-role/user-role.enum.ts -------------------------------------------------------------------------------- /src/modules/user-role/user-role.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-role/user-role.module.ts -------------------------------------------------------------------------------- /src/modules/user-role/user-role.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user-role/user-role.service.ts -------------------------------------------------------------------------------- /src/modules/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user/user.controller.ts -------------------------------------------------------------------------------- /src/modules/user/user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user/user.dto.ts -------------------------------------------------------------------------------- /src/modules/user/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user/user.entity.ts -------------------------------------------------------------------------------- /src/modules/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user/user.module.ts -------------------------------------------------------------------------------- /src/modules/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/user/user.service.ts -------------------------------------------------------------------------------- /src/modules/verify-code/verify-code.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/verify-code/verify-code.controller.ts -------------------------------------------------------------------------------- /src/modules/verify-code/verify-code.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/verify-code/verify-code.dto.ts -------------------------------------------------------------------------------- /src/modules/verify-code/verify-code.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/verify-code/verify-code.entity.ts -------------------------------------------------------------------------------- /src/modules/verify-code/verify-code.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/verify-code/verify-code.enum.ts -------------------------------------------------------------------------------- /src/modules/verify-code/verify-code.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/verify-code/verify-code.module.ts -------------------------------------------------------------------------------- /src/modules/verify-code/verify-code.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/verify-code/verify-code.service.ts -------------------------------------------------------------------------------- /src/modules/wechat-auth/wechat-auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/wechat-auth/wechat-auth.controller.ts -------------------------------------------------------------------------------- /src/modules/wechat-auth/wechat-auth.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/wechat-auth/wechat-auth.interface.ts -------------------------------------------------------------------------------- /src/modules/wechat-auth/wechat-auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/wechat-auth/wechat-auth.module.ts -------------------------------------------------------------------------------- /src/modules/wechat-auth/wechat-auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/modules/wechat-auth/wechat-auth.service.ts -------------------------------------------------------------------------------- /src/plugins/auto-mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/auto-mapper.ts -------------------------------------------------------------------------------- /src/plugins/exception.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/exception.plugin.ts -------------------------------------------------------------------------------- /src/plugins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/index.ts -------------------------------------------------------------------------------- /src/plugins/init-db.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/init-db.plugin.ts -------------------------------------------------------------------------------- /src/plugins/logger.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/logger.plugin.ts -------------------------------------------------------------------------------- /src/plugins/multipart.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/multipart.plugin.ts -------------------------------------------------------------------------------- /src/plugins/security.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/security.plugin.ts -------------------------------------------------------------------------------- /src/plugins/swagger.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/swagger.plugin.ts -------------------------------------------------------------------------------- /src/plugins/validate.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/plugins/validate.plugin.ts -------------------------------------------------------------------------------- /src/schedule-task/schedule-task.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/schedule-task/schedule-task.module.ts -------------------------------------------------------------------------------- /src/schedule-task/schedule-task.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/schedule-task/schedule-task.service.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/pagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/types/pagination.ts -------------------------------------------------------------------------------- /src/utils/crypto.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/utils/crypto.util.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/mapper.util.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faster-template/backend-nestjs/HEAD/tsconfig.json --------------------------------------------------------------------------------