├── .editorconfig ├── .env.example ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── main.yml ├── .gitignore ├── .husky ├── pre-commit └── pre-push ├── .lintstagedrc.json ├── .prettierignore ├── .prettierrc ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README-ADMIN.md ├── README.md ├── admin ├── .gitignore ├── index.html ├── package-lock.json ├── package.json ├── src │ ├── App.tsx │ ├── index.css │ ├── main.tsx │ ├── pages │ │ ├── auth │ │ │ ├── verify-email.tsx │ │ │ └── verify-otp.tsx │ │ ├── health │ │ │ └── index.tsx │ │ ├── roles │ │ │ ├── create.tsx │ │ │ ├── edit.tsx │ │ │ ├── index.ts │ │ │ ├── list.tsx │ │ │ └── show.tsx │ │ └── users │ │ │ ├── create.tsx │ │ │ ├── edit.tsx │ │ │ ├── index.ts │ │ │ ├── list.tsx │ │ │ └── show.tsx │ └── providers │ │ ├── auth-provider.ts │ │ └── data-provider.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── docker-compose.yml ├── docs ├── 01-overview │ ├── ARCHITECTURE_OVERVIEW.md │ ├── index.md │ └── risks-technical-debt.md ├── 02-architecture │ ├── 00-index.md │ ├── 01-introduction-goals.md │ ├── 02-constraints.md │ ├── 03-context-scope.md │ ├── 04-solution-strategy.md │ ├── 05-building-blocks.md │ ├── 06-runtime-view.md │ ├── architecture-decisions.md │ └── index.md ├── 03-development │ ├── coding-standards.md │ ├── index.md │ └── testing-strategy.md ├── 04-deployment │ ├── 07-deployment-view.md │ ├── deployment-guide.md │ └── index.md ├── 05-security │ ├── index.md │ └── security-architecture.md ├── 06-integration │ ├── SYSTEM_INTEGRATION.md │ └── index.md ├── 07-reference │ ├── cross-cutting-concepts.md │ ├── glossary.md │ ├── index.md │ └── quality-requirements.md ├── 08-roadmap │ ├── TECHNICAL_ROADMAP.md │ └── index.md ├── API_AUTH.md ├── AUTHORIZATION.md ├── DATABASE.md ├── E2E.md ├── LOGGING.md ├── README.md ├── STORAGE.md ├── TESTING.md ├── THROTTLER.md └── TWO_FACTOR_AUTH.md ├── eslint.config.mjs ├── jest.config.js ├── nest-cli.json ├── package.json ├── prisma.config.ts ├── prisma ├── migrations │ ├── 20231122070740_init │ │ └── migration.sql │ ├── 20250401101355_add_email_verification │ │ └── migration.sql │ ├── 20250401111325_add_password_reset │ │ └── migration.sql │ ├── 20250919080323_init │ │ └── migration.sql │ └── migration_lock.toml ├── schema │ ├── auth.prisma │ ├── file.prisma │ └── schema.prisma └── seed.ts ├── src ├── app.module.ts ├── application │ ├── commands │ │ ├── admin │ │ │ ├── change-password.command.ts │ │ │ └── update-user.command.ts │ │ ├── auth │ │ │ ├── check-email-verification-status.command.ts │ │ │ ├── disable-2fa.command.ts │ │ │ ├── generate-otp.command.ts │ │ │ ├── login.command.spec.ts │ │ │ ├── login.command.ts │ │ │ ├── logout.command.ts │ │ │ ├── refresh-token.command.spec.ts │ │ │ ├── refresh-token.command.ts │ │ │ ├── register-user.command.spec.ts │ │ │ ├── register-user.command.ts │ │ │ ├── request-password-reset.command.ts │ │ │ ├── reset-password.command.ts │ │ │ ├── send-verification-email.command.ts │ │ │ ├── setup-2fa.command.ts │ │ │ ├── verify-2fa.command.ts │ │ │ ├── verify-email.command.ts │ │ │ └── verify-otp.command.ts │ │ ├── role │ │ │ ├── assign-permission.command.ts │ │ │ ├── create-role.command.ts │ │ │ ├── delete-role.command.ts │ │ │ ├── remove-permission.command.ts │ │ │ └── update-role.command.ts │ │ ├── storage │ │ │ ├── delete-file.command.ts │ │ │ ├── update-file-access.command.ts │ │ │ └── upload-file.command.ts │ │ └── user │ │ │ ├── activate-user.command.ts │ │ │ ├── assign-role.command.ts │ │ │ ├── change-password.command.ts │ │ │ ├── remove-role.command.ts │ │ │ ├── update-user.command.ts │ │ │ └── verify-password.command.ts │ ├── dtos │ │ ├── index.ts │ │ ├── requests │ │ │ ├── auth │ │ │ │ ├── email-verification.request.ts │ │ │ │ ├── index.ts │ │ │ │ ├── login.request.ts │ │ │ │ ├── password-reset.request.ts │ │ │ │ ├── refresh-token.request.ts │ │ │ │ ├── register.request.ts │ │ │ │ └── verify-otp.request.ts │ │ │ ├── index.ts │ │ │ ├── role │ │ │ │ ├── create-role.request.ts │ │ │ │ ├── index.ts │ │ │ │ └── update-role.request.ts │ │ │ ├── storage │ │ │ │ ├── index.ts │ │ │ │ └── update-file-access.request.ts │ │ │ └── user │ │ │ │ ├── activate-user.request.ts │ │ │ │ ├── admin-change-password.request.ts │ │ │ │ ├── assign-role.request.ts │ │ │ │ ├── change-password.request.ts │ │ │ │ ├── index.ts │ │ │ │ └── update-user.request.ts │ │ ├── responses │ │ │ ├── auth │ │ │ │ ├── auth.response.ts │ │ │ │ └── index.ts │ │ │ ├── health │ │ │ │ ├── health.response.ts │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── permission │ │ │ │ ├── index.ts │ │ │ │ └── permission.response.ts │ │ │ ├── role │ │ │ │ ├── index.ts │ │ │ │ └── role.response.ts │ │ │ ├── storage │ │ │ │ ├── file.response.ts │ │ │ │ └── index.ts │ │ │ └── user │ │ │ │ ├── index.ts │ │ │ │ └── user.response.ts │ │ └── types │ │ │ ├── index.ts │ │ │ └── jwt-payload.interface.ts │ ├── mappers │ │ ├── file.mapper.ts │ │ ├── role.mapper.ts │ │ └── user.mapper.ts │ └── queries │ │ ├── admin │ │ ├── get-health.query.ts │ │ └── get-user.query.ts │ │ ├── health │ │ ├── get-database-health.query.ts │ │ ├── get-health.query.ts │ │ ├── get-liveness.query.ts │ │ └── get-readiness.query.ts │ │ ├── permission │ │ └── get-permissions.query.ts │ │ ├── role │ │ ├── get-role.query.ts │ │ └── get-roles.query.ts │ │ ├── storage │ │ ├── get-all-files.query.ts │ │ ├── get-file.query.ts │ │ └── get-user-files.query.ts │ │ └── user │ │ ├── get-user.query.ts │ │ └── get-users.query.ts ├── core │ ├── core.module.ts │ ├── entities │ │ ├── email-verification.entity.ts │ │ ├── file.entity.ts │ │ ├── otp.entity.ts │ │ ├── password-reset.entity.ts │ │ ├── permission.entity.ts │ │ ├── refresh-token.entity.ts │ │ ├── role.entity.ts │ │ └── user.entity.ts │ ├── exceptions │ │ └── domain-exceptions.ts │ ├── repositories │ │ ├── email-verification.repository.interface.ts │ │ ├── file.repository.interface.ts │ │ ├── otp.repository.interface.ts │ │ ├── password-reset.repository.interface.ts │ │ ├── permission.repository.interface.ts │ │ ├── refresh-token.repository.interface.ts │ │ ├── role.repository.interface.ts │ │ └── user.repository.interface.ts │ ├── services │ │ ├── auth.service.spec.ts │ │ ├── auth.service.ts │ │ ├── health.service.ts │ │ ├── role.service.ts │ │ ├── storage.service.ts │ │ ├── throttler.service.ts │ │ ├── user-authorization.service.ts │ │ ├── user.service.spec.ts │ │ └── user.service.ts │ ├── specifications │ │ ├── role.specifications.ts │ │ ├── specification.base.ts │ │ └── user.specifications.ts │ └── value-objects │ │ ├── collections │ │ ├── permissions.collection.ts │ │ └── roles.collection.ts │ │ ├── email.vo.spec.ts │ │ ├── email.vo.ts │ │ ├── entity-id.vo.ts │ │ ├── file-id.vo.ts │ │ ├── name.vo.ts │ │ ├── password.vo.spec.ts │ │ ├── password.vo.ts │ │ ├── permission-id.vo.ts │ │ ├── permission-name.vo.ts │ │ ├── resource-action.vo.ts │ │ ├── role-id.vo.ts │ │ ├── throttle-limit.vo.spec.ts │ │ ├── throttle-limit.vo.ts │ │ ├── token.vo.spec.ts │ │ ├── token.vo.ts │ │ ├── user-id.vo.ts │ │ └── verification-code.vo.ts ├── generated │ └── i18n.generated.ts ├── infrastructure │ ├── config │ │ ├── configuration.ts │ │ └── storage.config.ts │ ├── database │ │ └── prisma │ │ │ ├── prisma.module.ts │ │ │ └── prisma.service.ts │ ├── i18n │ │ ├── i18n.module.ts │ │ └── locales │ │ │ ├── ar │ │ │ └── common.json │ │ │ └── en │ │ │ └── common.json │ ├── logger │ │ ├── logger.interface.ts │ │ ├── logger.module.ts │ │ ├── logger.service.spec.ts │ │ └── logger.service.ts │ ├── repositories │ │ ├── base.repository.ts │ │ ├── email-verification.repository.ts │ │ ├── file.repository.ts │ │ ├── otp.repository.ts │ │ ├── password-reset.repository.ts │ │ ├── permission.repository.ts │ │ ├── refresh-token.repository.ts │ │ ├── role.repository.ts │ │ ├── user.repository.spec.ts │ │ └── user.repository.ts │ ├── services │ │ ├── throttler.service.spec.ts │ │ └── throttler.service.ts │ ├── storage │ │ ├── providers │ │ │ ├── minio.provider.ts │ │ │ └── s3.provider.ts │ │ └── storage.module.ts │ └── throttler │ │ └── throttler.module.ts ├── main.ts ├── presentation │ ├── filters │ │ ├── all-exceptions.filter.ts │ │ └── domain-exceptions.filter.ts │ ├── guards │ │ ├── jwt-auth.guard.ts │ │ ├── permissions.guard.ts │ │ └── throttler.guard.ts │ ├── interceptors │ │ ├── logging.interceptor.ts │ │ └── transform.interceptor.ts │ └── modules │ │ ├── admin │ │ ├── admin-auth.controller.ts │ │ ├── admin-health.controller.ts │ │ ├── admin-role.controller.ts │ │ ├── admin-user.controller.ts │ │ ├── admin.controller.ts │ │ └── admin.module.ts │ │ ├── auth │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── providers │ │ │ ├── email.provider.ts │ │ │ ├── otp.provider.ts │ │ │ └── token.provider.ts │ │ └── strategies │ │ │ └── jwt.strategy.ts │ │ ├── health │ │ ├── health.controller.ts │ │ └── health.module.ts │ │ ├── storage │ │ ├── storage.controller.ts │ │ └── storage.module.ts │ │ └── user │ │ ├── user.controller.ts │ │ └── user.module.ts ├── shared │ ├── constants │ │ └── tokens.ts │ └── decorators │ │ ├── admin.decorator.ts │ │ ├── current-user.decorator.ts │ │ ├── public.decorator.ts │ │ ├── resource-action.decorator.ts │ │ ├── sensitive.decorator.ts │ │ └── throttle.decorator.ts └── test │ ├── fixtures │ ├── auth.fixtures.ts │ └── user.fixtures.ts │ ├── jest-setup.ts │ └── mocks │ ├── config.factory.ts │ ├── config.mock.ts │ ├── repositories.factory.ts │ └── repositories.mock.ts ├── test ├── auth.e2e-spec.ts ├── jest-e2e.json ├── role.e2e-spec.ts └── user.e2e-spec.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.env.example -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx lint-staged 2 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npm test -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/.prettierrc -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README-ADMIN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/README-ADMIN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/README.md -------------------------------------------------------------------------------- /admin/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/.gitignore -------------------------------------------------------------------------------- /admin/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/index.html -------------------------------------------------------------------------------- /admin/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/package-lock.json -------------------------------------------------------------------------------- /admin/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/package.json -------------------------------------------------------------------------------- /admin/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/App.tsx -------------------------------------------------------------------------------- /admin/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/index.css -------------------------------------------------------------------------------- /admin/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/main.tsx -------------------------------------------------------------------------------- /admin/src/pages/auth/verify-email.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/auth/verify-email.tsx -------------------------------------------------------------------------------- /admin/src/pages/auth/verify-otp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/auth/verify-otp.tsx -------------------------------------------------------------------------------- /admin/src/pages/health/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/health/index.tsx -------------------------------------------------------------------------------- /admin/src/pages/roles/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/roles/create.tsx -------------------------------------------------------------------------------- /admin/src/pages/roles/edit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/roles/edit.tsx -------------------------------------------------------------------------------- /admin/src/pages/roles/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/roles/index.ts -------------------------------------------------------------------------------- /admin/src/pages/roles/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/roles/list.tsx -------------------------------------------------------------------------------- /admin/src/pages/roles/show.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/roles/show.tsx -------------------------------------------------------------------------------- /admin/src/pages/users/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/users/create.tsx -------------------------------------------------------------------------------- /admin/src/pages/users/edit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/users/edit.tsx -------------------------------------------------------------------------------- /admin/src/pages/users/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/users/index.ts -------------------------------------------------------------------------------- /admin/src/pages/users/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/users/list.tsx -------------------------------------------------------------------------------- /admin/src/pages/users/show.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/pages/users/show.tsx -------------------------------------------------------------------------------- /admin/src/providers/auth-provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/providers/auth-provider.ts -------------------------------------------------------------------------------- /admin/src/providers/data-provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/src/providers/data-provider.ts -------------------------------------------------------------------------------- /admin/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/tsconfig.json -------------------------------------------------------------------------------- /admin/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/tsconfig.node.json -------------------------------------------------------------------------------- /admin/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/admin/vite.config.ts -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/01-overview/ARCHITECTURE_OVERVIEW.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/01-overview/ARCHITECTURE_OVERVIEW.md -------------------------------------------------------------------------------- /docs/01-overview/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/01-overview/index.md -------------------------------------------------------------------------------- /docs/01-overview/risks-technical-debt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/01-overview/risks-technical-debt.md -------------------------------------------------------------------------------- /docs/02-architecture/00-index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/00-index.md -------------------------------------------------------------------------------- /docs/02-architecture/01-introduction-goals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/01-introduction-goals.md -------------------------------------------------------------------------------- /docs/02-architecture/02-constraints.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/02-constraints.md -------------------------------------------------------------------------------- /docs/02-architecture/03-context-scope.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/03-context-scope.md -------------------------------------------------------------------------------- /docs/02-architecture/04-solution-strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/04-solution-strategy.md -------------------------------------------------------------------------------- /docs/02-architecture/05-building-blocks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/05-building-blocks.md -------------------------------------------------------------------------------- /docs/02-architecture/06-runtime-view.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/06-runtime-view.md -------------------------------------------------------------------------------- /docs/02-architecture/architecture-decisions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/architecture-decisions.md -------------------------------------------------------------------------------- /docs/02-architecture/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/02-architecture/index.md -------------------------------------------------------------------------------- /docs/03-development/coding-standards.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/03-development/coding-standards.md -------------------------------------------------------------------------------- /docs/03-development/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/03-development/index.md -------------------------------------------------------------------------------- /docs/03-development/testing-strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/03-development/testing-strategy.md -------------------------------------------------------------------------------- /docs/04-deployment/07-deployment-view.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/04-deployment/07-deployment-view.md -------------------------------------------------------------------------------- /docs/04-deployment/deployment-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/04-deployment/deployment-guide.md -------------------------------------------------------------------------------- /docs/04-deployment/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/04-deployment/index.md -------------------------------------------------------------------------------- /docs/05-security/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/05-security/index.md -------------------------------------------------------------------------------- /docs/05-security/security-architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/05-security/security-architecture.md -------------------------------------------------------------------------------- /docs/06-integration/SYSTEM_INTEGRATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/06-integration/SYSTEM_INTEGRATION.md -------------------------------------------------------------------------------- /docs/06-integration/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/06-integration/index.md -------------------------------------------------------------------------------- /docs/07-reference/cross-cutting-concepts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/07-reference/cross-cutting-concepts.md -------------------------------------------------------------------------------- /docs/07-reference/glossary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/07-reference/glossary.md -------------------------------------------------------------------------------- /docs/07-reference/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/07-reference/index.md -------------------------------------------------------------------------------- /docs/07-reference/quality-requirements.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/07-reference/quality-requirements.md -------------------------------------------------------------------------------- /docs/08-roadmap/TECHNICAL_ROADMAP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/08-roadmap/TECHNICAL_ROADMAP.md -------------------------------------------------------------------------------- /docs/08-roadmap/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/08-roadmap/index.md -------------------------------------------------------------------------------- /docs/API_AUTH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/API_AUTH.md -------------------------------------------------------------------------------- /docs/AUTHORIZATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/AUTHORIZATION.md -------------------------------------------------------------------------------- /docs/DATABASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/DATABASE.md -------------------------------------------------------------------------------- /docs/E2E.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/E2E.md -------------------------------------------------------------------------------- /docs/LOGGING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/LOGGING.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/STORAGE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/STORAGE.md -------------------------------------------------------------------------------- /docs/TESTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/TESTING.md -------------------------------------------------------------------------------- /docs/THROTTLER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/THROTTLER.md -------------------------------------------------------------------------------- /docs/TWO_FACTOR_AUTH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/docs/TWO_FACTOR_AUTH.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/jest.config.js -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/package.json -------------------------------------------------------------------------------- /prisma.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma.config.ts -------------------------------------------------------------------------------- /prisma/migrations/20231122070740_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/migrations/20231122070740_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250401101355_add_email_verification/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/migrations/20250401101355_add_email_verification/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250401111325_add_password_reset/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/migrations/20250401111325_add_password_reset/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20250919080323_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/migrations/20250919080323_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema/auth.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/schema/auth.prisma -------------------------------------------------------------------------------- /prisma/schema/file.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/schema/file.prisma -------------------------------------------------------------------------------- /prisma/schema/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/schema/schema.prisma -------------------------------------------------------------------------------- /prisma/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/prisma/seed.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/application/commands/admin/change-password.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/admin/change-password.command.ts -------------------------------------------------------------------------------- /src/application/commands/admin/update-user.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/admin/update-user.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/check-email-verification-status.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/check-email-verification-status.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/disable-2fa.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/disable-2fa.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/generate-otp.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/generate-otp.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/login.command.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/login.command.spec.ts -------------------------------------------------------------------------------- /src/application/commands/auth/login.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/login.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/logout.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/logout.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/refresh-token.command.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/refresh-token.command.spec.ts -------------------------------------------------------------------------------- /src/application/commands/auth/refresh-token.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/refresh-token.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/register-user.command.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/register-user.command.spec.ts -------------------------------------------------------------------------------- /src/application/commands/auth/register-user.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/register-user.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/request-password-reset.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/request-password-reset.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/reset-password.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/reset-password.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/send-verification-email.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/send-verification-email.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/setup-2fa.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/setup-2fa.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/verify-2fa.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/verify-2fa.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/verify-email.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/verify-email.command.ts -------------------------------------------------------------------------------- /src/application/commands/auth/verify-otp.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/auth/verify-otp.command.ts -------------------------------------------------------------------------------- /src/application/commands/role/assign-permission.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/role/assign-permission.command.ts -------------------------------------------------------------------------------- /src/application/commands/role/create-role.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/role/create-role.command.ts -------------------------------------------------------------------------------- /src/application/commands/role/delete-role.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/role/delete-role.command.ts -------------------------------------------------------------------------------- /src/application/commands/role/remove-permission.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/role/remove-permission.command.ts -------------------------------------------------------------------------------- /src/application/commands/role/update-role.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/role/update-role.command.ts -------------------------------------------------------------------------------- /src/application/commands/storage/delete-file.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/storage/delete-file.command.ts -------------------------------------------------------------------------------- /src/application/commands/storage/update-file-access.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/storage/update-file-access.command.ts -------------------------------------------------------------------------------- /src/application/commands/storage/upload-file.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/storage/upload-file.command.ts -------------------------------------------------------------------------------- /src/application/commands/user/activate-user.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/user/activate-user.command.ts -------------------------------------------------------------------------------- /src/application/commands/user/assign-role.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/user/assign-role.command.ts -------------------------------------------------------------------------------- /src/application/commands/user/change-password.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/user/change-password.command.ts -------------------------------------------------------------------------------- /src/application/commands/user/remove-role.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/user/remove-role.command.ts -------------------------------------------------------------------------------- /src/application/commands/user/update-user.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/user/update-user.command.ts -------------------------------------------------------------------------------- /src/application/commands/user/verify-password.command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/commands/user/verify-password.command.ts -------------------------------------------------------------------------------- /src/application/dtos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/index.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/auth/email-verification.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/auth/email-verification.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/auth/index.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/auth/login.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/auth/login.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/auth/password-reset.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/auth/password-reset.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/auth/refresh-token.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/auth/refresh-token.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/auth/register.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/auth/register.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/auth/verify-otp.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/auth/verify-otp.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/index.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/role/create-role.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/role/create-role.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/role/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/role/index.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/role/update-role.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/role/update-role.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/storage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './update-file-access.request'; 2 | -------------------------------------------------------------------------------- /src/application/dtos/requests/storage/update-file-access.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/storage/update-file-access.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/user/activate-user.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/user/activate-user.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/user/admin-change-password.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/user/admin-change-password.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/user/assign-role.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/user/assign-role.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/user/change-password.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/user/change-password.request.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/user/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/user/index.ts -------------------------------------------------------------------------------- /src/application/dtos/requests/user/update-user.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/requests/user/update-user.request.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/auth/auth.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/auth/auth.response.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/auth/index.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/health/health.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/health/health.response.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/health/index.ts: -------------------------------------------------------------------------------- 1 | export * from './health.response'; 2 | -------------------------------------------------------------------------------- /src/application/dtos/responses/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/index.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/permission/index.ts: -------------------------------------------------------------------------------- 1 | export * from './permission.response'; 2 | -------------------------------------------------------------------------------- /src/application/dtos/responses/permission/permission.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/permission/permission.response.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/role/index.ts: -------------------------------------------------------------------------------- 1 | export * from './role.response'; 2 | -------------------------------------------------------------------------------- /src/application/dtos/responses/role/role.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/role/role.response.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/storage/file.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/storage/file.response.ts -------------------------------------------------------------------------------- /src/application/dtos/responses/storage/index.ts: -------------------------------------------------------------------------------- 1 | export * from './file.response'; 2 | -------------------------------------------------------------------------------- /src/application/dtos/responses/user/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user.response'; 2 | -------------------------------------------------------------------------------- /src/application/dtos/responses/user/user.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/responses/user/user.response.ts -------------------------------------------------------------------------------- /src/application/dtos/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './jwt-payload.interface'; 2 | -------------------------------------------------------------------------------- /src/application/dtos/types/jwt-payload.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/dtos/types/jwt-payload.interface.ts -------------------------------------------------------------------------------- /src/application/mappers/file.mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/mappers/file.mapper.ts -------------------------------------------------------------------------------- /src/application/mappers/role.mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/mappers/role.mapper.ts -------------------------------------------------------------------------------- /src/application/mappers/user.mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/mappers/user.mapper.ts -------------------------------------------------------------------------------- /src/application/queries/admin/get-health.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/admin/get-health.query.ts -------------------------------------------------------------------------------- /src/application/queries/admin/get-user.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/admin/get-user.query.ts -------------------------------------------------------------------------------- /src/application/queries/health/get-database-health.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/health/get-database-health.query.ts -------------------------------------------------------------------------------- /src/application/queries/health/get-health.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/health/get-health.query.ts -------------------------------------------------------------------------------- /src/application/queries/health/get-liveness.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/health/get-liveness.query.ts -------------------------------------------------------------------------------- /src/application/queries/health/get-readiness.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/health/get-readiness.query.ts -------------------------------------------------------------------------------- /src/application/queries/permission/get-permissions.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/permission/get-permissions.query.ts -------------------------------------------------------------------------------- /src/application/queries/role/get-role.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/role/get-role.query.ts -------------------------------------------------------------------------------- /src/application/queries/role/get-roles.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/role/get-roles.query.ts -------------------------------------------------------------------------------- /src/application/queries/storage/get-all-files.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/storage/get-all-files.query.ts -------------------------------------------------------------------------------- /src/application/queries/storage/get-file.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/storage/get-file.query.ts -------------------------------------------------------------------------------- /src/application/queries/storage/get-user-files.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/storage/get-user-files.query.ts -------------------------------------------------------------------------------- /src/application/queries/user/get-user.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/user/get-user.query.ts -------------------------------------------------------------------------------- /src/application/queries/user/get-users.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/application/queries/user/get-users.query.ts -------------------------------------------------------------------------------- /src/core/core.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/core.module.ts -------------------------------------------------------------------------------- /src/core/entities/email-verification.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/email-verification.entity.ts -------------------------------------------------------------------------------- /src/core/entities/file.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/file.entity.ts -------------------------------------------------------------------------------- /src/core/entities/otp.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/otp.entity.ts -------------------------------------------------------------------------------- /src/core/entities/password-reset.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/password-reset.entity.ts -------------------------------------------------------------------------------- /src/core/entities/permission.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/permission.entity.ts -------------------------------------------------------------------------------- /src/core/entities/refresh-token.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/refresh-token.entity.ts -------------------------------------------------------------------------------- /src/core/entities/role.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/role.entity.ts -------------------------------------------------------------------------------- /src/core/entities/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/entities/user.entity.ts -------------------------------------------------------------------------------- /src/core/exceptions/domain-exceptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/exceptions/domain-exceptions.ts -------------------------------------------------------------------------------- /src/core/repositories/email-verification.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/email-verification.repository.interface.ts -------------------------------------------------------------------------------- /src/core/repositories/file.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/file.repository.interface.ts -------------------------------------------------------------------------------- /src/core/repositories/otp.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/otp.repository.interface.ts -------------------------------------------------------------------------------- /src/core/repositories/password-reset.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/password-reset.repository.interface.ts -------------------------------------------------------------------------------- /src/core/repositories/permission.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/permission.repository.interface.ts -------------------------------------------------------------------------------- /src/core/repositories/refresh-token.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/refresh-token.repository.interface.ts -------------------------------------------------------------------------------- /src/core/repositories/role.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/role.repository.interface.ts -------------------------------------------------------------------------------- /src/core/repositories/user.repository.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/repositories/user.repository.interface.ts -------------------------------------------------------------------------------- /src/core/services/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/auth.service.spec.ts -------------------------------------------------------------------------------- /src/core/services/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/auth.service.ts -------------------------------------------------------------------------------- /src/core/services/health.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/health.service.ts -------------------------------------------------------------------------------- /src/core/services/role.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/role.service.ts -------------------------------------------------------------------------------- /src/core/services/storage.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/storage.service.ts -------------------------------------------------------------------------------- /src/core/services/throttler.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/throttler.service.ts -------------------------------------------------------------------------------- /src/core/services/user-authorization.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/user-authorization.service.ts -------------------------------------------------------------------------------- /src/core/services/user.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/user.service.spec.ts -------------------------------------------------------------------------------- /src/core/services/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/services/user.service.ts -------------------------------------------------------------------------------- /src/core/specifications/role.specifications.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/specifications/role.specifications.ts -------------------------------------------------------------------------------- /src/core/specifications/specification.base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/specifications/specification.base.ts -------------------------------------------------------------------------------- /src/core/specifications/user.specifications.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/specifications/user.specifications.ts -------------------------------------------------------------------------------- /src/core/value-objects/collections/permissions.collection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/collections/permissions.collection.ts -------------------------------------------------------------------------------- /src/core/value-objects/collections/roles.collection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/collections/roles.collection.ts -------------------------------------------------------------------------------- /src/core/value-objects/email.vo.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/email.vo.spec.ts -------------------------------------------------------------------------------- /src/core/value-objects/email.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/email.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/entity-id.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/entity-id.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/file-id.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/file-id.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/name.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/name.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/password.vo.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/password.vo.spec.ts -------------------------------------------------------------------------------- /src/core/value-objects/password.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/password.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/permission-id.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/permission-id.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/permission-name.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/permission-name.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/resource-action.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/resource-action.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/role-id.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/role-id.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/throttle-limit.vo.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/throttle-limit.vo.spec.ts -------------------------------------------------------------------------------- /src/core/value-objects/throttle-limit.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/throttle-limit.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/token.vo.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/token.vo.spec.ts -------------------------------------------------------------------------------- /src/core/value-objects/token.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/token.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/user-id.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/user-id.vo.ts -------------------------------------------------------------------------------- /src/core/value-objects/verification-code.vo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/core/value-objects/verification-code.vo.ts -------------------------------------------------------------------------------- /src/generated/i18n.generated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/generated/i18n.generated.ts -------------------------------------------------------------------------------- /src/infrastructure/config/configuration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/config/configuration.ts -------------------------------------------------------------------------------- /src/infrastructure/config/storage.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/config/storage.config.ts -------------------------------------------------------------------------------- /src/infrastructure/database/prisma/prisma.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/database/prisma/prisma.module.ts -------------------------------------------------------------------------------- /src/infrastructure/database/prisma/prisma.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/database/prisma/prisma.service.ts -------------------------------------------------------------------------------- /src/infrastructure/i18n/i18n.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/i18n/i18n.module.ts -------------------------------------------------------------------------------- /src/infrastructure/i18n/locales/ar/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/i18n/locales/ar/common.json -------------------------------------------------------------------------------- /src/infrastructure/i18n/locales/en/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/i18n/locales/en/common.json -------------------------------------------------------------------------------- /src/infrastructure/logger/logger.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/logger/logger.interface.ts -------------------------------------------------------------------------------- /src/infrastructure/logger/logger.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/logger/logger.module.ts -------------------------------------------------------------------------------- /src/infrastructure/logger/logger.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/logger/logger.service.spec.ts -------------------------------------------------------------------------------- /src/infrastructure/logger/logger.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/logger/logger.service.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/base.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/base.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/email-verification.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/email-verification.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/file.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/file.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/otp.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/otp.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/password-reset.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/password-reset.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/permission.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/permission.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/refresh-token.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/refresh-token.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/role.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/role.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/user.repository.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/user.repository.spec.ts -------------------------------------------------------------------------------- /src/infrastructure/repositories/user.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/repositories/user.repository.ts -------------------------------------------------------------------------------- /src/infrastructure/services/throttler.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/services/throttler.service.spec.ts -------------------------------------------------------------------------------- /src/infrastructure/services/throttler.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/services/throttler.service.ts -------------------------------------------------------------------------------- /src/infrastructure/storage/providers/minio.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/storage/providers/minio.provider.ts -------------------------------------------------------------------------------- /src/infrastructure/storage/providers/s3.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/storage/providers/s3.provider.ts -------------------------------------------------------------------------------- /src/infrastructure/storage/storage.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/storage/storage.module.ts -------------------------------------------------------------------------------- /src/infrastructure/throttler/throttler.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/infrastructure/throttler/throttler.module.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/presentation/filters/all-exceptions.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/filters/all-exceptions.filter.ts -------------------------------------------------------------------------------- /src/presentation/filters/domain-exceptions.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/filters/domain-exceptions.filter.ts -------------------------------------------------------------------------------- /src/presentation/guards/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/guards/jwt-auth.guard.ts -------------------------------------------------------------------------------- /src/presentation/guards/permissions.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/guards/permissions.guard.ts -------------------------------------------------------------------------------- /src/presentation/guards/throttler.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/guards/throttler.guard.ts -------------------------------------------------------------------------------- /src/presentation/interceptors/logging.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/interceptors/logging.interceptor.ts -------------------------------------------------------------------------------- /src/presentation/interceptors/transform.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/interceptors/transform.interceptor.ts -------------------------------------------------------------------------------- /src/presentation/modules/admin/admin-auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/admin/admin-auth.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/admin/admin-health.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/admin/admin-health.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/admin/admin-role.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/admin/admin-role.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/admin/admin-user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/admin/admin-user.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/admin/admin.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/admin/admin.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/admin/admin.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/admin/admin.module.ts -------------------------------------------------------------------------------- /src/presentation/modules/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/auth/auth.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/auth/auth.module.ts -------------------------------------------------------------------------------- /src/presentation/modules/auth/providers/email.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/auth/providers/email.provider.ts -------------------------------------------------------------------------------- /src/presentation/modules/auth/providers/otp.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/auth/providers/otp.provider.ts -------------------------------------------------------------------------------- /src/presentation/modules/auth/providers/token.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/auth/providers/token.provider.ts -------------------------------------------------------------------------------- /src/presentation/modules/auth/strategies/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/auth/strategies/jwt.strategy.ts -------------------------------------------------------------------------------- /src/presentation/modules/health/health.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/health/health.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/health/health.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/health/health.module.ts -------------------------------------------------------------------------------- /src/presentation/modules/storage/storage.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/storage/storage.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/storage/storage.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/storage/storage.module.ts -------------------------------------------------------------------------------- /src/presentation/modules/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/user/user.controller.ts -------------------------------------------------------------------------------- /src/presentation/modules/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/presentation/modules/user/user.module.ts -------------------------------------------------------------------------------- /src/shared/constants/tokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/shared/constants/tokens.ts -------------------------------------------------------------------------------- /src/shared/decorators/admin.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/shared/decorators/admin.decorator.ts -------------------------------------------------------------------------------- /src/shared/decorators/current-user.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/shared/decorators/current-user.decorator.ts -------------------------------------------------------------------------------- /src/shared/decorators/public.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/shared/decorators/public.decorator.ts -------------------------------------------------------------------------------- /src/shared/decorators/resource-action.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/shared/decorators/resource-action.decorator.ts -------------------------------------------------------------------------------- /src/shared/decorators/sensitive.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/shared/decorators/sensitive.decorator.ts -------------------------------------------------------------------------------- /src/shared/decorators/throttle.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/shared/decorators/throttle.decorator.ts -------------------------------------------------------------------------------- /src/test/fixtures/auth.fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/test/fixtures/auth.fixtures.ts -------------------------------------------------------------------------------- /src/test/fixtures/user.fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/test/fixtures/user.fixtures.ts -------------------------------------------------------------------------------- /src/test/jest-setup.ts: -------------------------------------------------------------------------------- 1 | // Jest Setup 2 | import 'reflect-metadata'; 3 | -------------------------------------------------------------------------------- /src/test/mocks/config.factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/test/mocks/config.factory.ts -------------------------------------------------------------------------------- /src/test/mocks/config.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/test/mocks/config.mock.ts -------------------------------------------------------------------------------- /src/test/mocks/repositories.factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/test/mocks/repositories.factory.ts -------------------------------------------------------------------------------- /src/test/mocks/repositories.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/src/test/mocks/repositories.mock.ts -------------------------------------------------------------------------------- /test/auth.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/test/auth.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /test/role.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/test/role.e2e-spec.ts -------------------------------------------------------------------------------- /test/user.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/test/user.e2e-spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/v-checha/nestjs-template/HEAD/tsconfig.json --------------------------------------------------------------------------------