├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── nest-cli.json ├── package.json ├── src ├── app.module.ts ├── auth │ ├── auth.module.ts │ ├── auth.service.ts │ ├── constants.ts │ ├── guards │ │ ├── jwt-auth.guard.ts │ │ └── local-auth.guard.ts │ └── strategies │ │ ├── auth.jwt.strategy.ts │ │ └── auth.local.strategy.ts ├── configs │ └── typeorm.config.ts ├── entity │ ├── board.entity.ts │ ├── category.entity.ts │ ├── company_infomation.entity.ts │ ├── profile.entity.ts │ └── user.entity.ts ├── main.ts ├── middleware │ └── auth.middleware.ts ├── repository │ └── user.repository.ts ├── user │ ├── dto │ │ ├── sign_in.dto.ts │ │ └── user.dto.ts │ ├── user.controller.ts │ ├── user.module.ts │ └── user.service.ts └── utils │ ├── http-exception.filter.ts │ ├── multer.options.ts │ └── swagger.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/README.md -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/package.json -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/auth/auth.module.ts -------------------------------------------------------------------------------- /src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/auth/auth.service.ts -------------------------------------------------------------------------------- /src/auth/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/auth/constants.ts -------------------------------------------------------------------------------- /src/auth/guards/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/auth/guards/jwt-auth.guard.ts -------------------------------------------------------------------------------- /src/auth/guards/local-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/auth/guards/local-auth.guard.ts -------------------------------------------------------------------------------- /src/auth/strategies/auth.jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/auth/strategies/auth.jwt.strategy.ts -------------------------------------------------------------------------------- /src/auth/strategies/auth.local.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/auth/strategies/auth.local.strategy.ts -------------------------------------------------------------------------------- /src/configs/typeorm.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/configs/typeorm.config.ts -------------------------------------------------------------------------------- /src/entity/board.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/entity/board.entity.ts -------------------------------------------------------------------------------- /src/entity/category.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/entity/category.entity.ts -------------------------------------------------------------------------------- /src/entity/company_infomation.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/entity/company_infomation.entity.ts -------------------------------------------------------------------------------- /src/entity/profile.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/entity/profile.entity.ts -------------------------------------------------------------------------------- /src/entity/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/entity/user.entity.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/middleware/auth.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/middleware/auth.middleware.ts -------------------------------------------------------------------------------- /src/repository/user.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/repository/user.repository.ts -------------------------------------------------------------------------------- /src/user/dto/sign_in.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/user/dto/sign_in.dto.ts -------------------------------------------------------------------------------- /src/user/dto/user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/user/dto/user.dto.ts -------------------------------------------------------------------------------- /src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/user/user.controller.ts -------------------------------------------------------------------------------- /src/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/user/user.module.ts -------------------------------------------------------------------------------- /src/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/user/user.service.ts -------------------------------------------------------------------------------- /src/utils/http-exception.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/utils/http-exception.filter.ts -------------------------------------------------------------------------------- /src/utils/multer.options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/utils/multer.options.ts -------------------------------------------------------------------------------- /src/utils/swagger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/src/utils/swagger.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ryan-Sin/Node_Nest/HEAD/tsconfig.json --------------------------------------------------------------------------------