├── .aws └── localstack.sh ├── .dockerignore ├── .eslintrc.js ├── .github └── workflows │ ├── codeql-analysis.yml │ ├── main.yml │ └── stale.yaml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── Dockerfile ├── Dockerfile.dev ├── README.md ├── docker-compose.yml ├── libs ├── Auth.ts ├── DatabaseModule.ts ├── HttpExceptionFilter.ts ├── LoggingInterceptor.ts ├── MessageModule.ts ├── PasswordModule.ts ├── RequestStorage.ts ├── RequestStorageMiddleware.ts └── Transactional.ts ├── manifest.yaml ├── nest-cli.json ├── nginx.conf ├── package.json ├── src ├── AppController.ts ├── AppModule.ts ├── AppService.ts ├── Config.ts ├── account │ ├── AccountsModule.ts │ ├── application │ │ ├── InjectionToken.ts │ │ ├── command │ │ │ ├── CloseAccountCommand.ts │ │ │ ├── CloseAccountHandler.spec.ts │ │ │ ├── CloseAccountHandler.ts │ │ │ ├── DepositCommand.ts │ │ │ ├── DepositHandler.spec.ts │ │ │ ├── DepositHandler.ts │ │ │ ├── LockAccountCommand.ts │ │ │ ├── LockAccountHandler.ts │ │ │ ├── OpenAccountCommand.ts │ │ │ ├── OpenAccountHandler.spec.ts │ │ │ ├── OpenAccountHandler.ts │ │ │ ├── RemitCommand.ts │ │ │ ├── RemitHandler.spec.ts │ │ │ ├── RemitHandler.ts │ │ │ ├── UpdatePasswordCommand.ts │ │ │ ├── UpdatePasswordHandler.spec.ts │ │ │ ├── UpdatePasswordHandler.ts │ │ │ ├── WithdrawCommand.ts │ │ │ ├── WithdrawHandler.spec.ts │ │ │ └── WithdrawHandler.ts │ │ ├── event │ │ │ ├── AccountClosedHandler.ts │ │ │ ├── AccountOpenedHandler.ts │ │ │ ├── DepositedHandler.ts │ │ │ ├── PasswordUpdatedHandler.ts │ │ │ └── WithdrawnHandler.ts │ │ └── query │ │ │ ├── AccountQuery.ts │ │ │ ├── FindAccountByIdHandler.ts │ │ │ ├── FindAccountByIdQuery.ts │ │ │ ├── FindAccountByIdResult.ts │ │ │ ├── FindAccountsHandler.ts │ │ │ ├── FindAccountsQuery.ts │ │ │ └── FindAccountsResult.ts │ ├── domain │ │ ├── Account.spec.ts │ │ ├── Account.ts │ │ ├── AccountDomainService.spec.ts │ │ ├── AccountDomainService.ts │ │ ├── AccountFactory.ts │ │ ├── AccountRepository.ts │ │ ├── ErrorMessage.ts │ │ └── event │ │ │ ├── AccountClosedEvent.ts │ │ │ ├── AccountOpenedEvent.ts │ │ │ ├── DepositedEvent.ts │ │ │ ├── PasswordUpdatedEvent.ts │ │ │ └── WithdrawnEvent.ts │ ├── infrastructure │ │ ├── entity │ │ │ ├── AccountEntity.ts │ │ │ └── BaseEntity.ts │ │ ├── query │ │ │ └── AccountQueryImplement.ts │ │ └── repository │ │ │ └── AccountRepositoryImplement.ts │ └── interface │ │ ├── AccountTaskController.ts │ │ ├── AccountsController.ts │ │ ├── ResponseDescription.ts │ │ └── dto │ │ ├── DeleteAccountRequestParam.ts │ │ ├── DepositRequestDto.ts │ │ ├── DepositRequestParam.ts │ │ ├── FindAccountByIdRequestParam.ts │ │ ├── FindAccountByIdResponseDTO.ts │ │ ├── FindAccountsRequestQueryString.ts │ │ ├── FindAccountsResponseDto.ts │ │ ├── OpenAccountRequestDTO.ts │ │ ├── RemitRequestDTO.ts │ │ ├── RemitRequestParam.ts │ │ ├── UpdatePasswordRequestDTO.ts │ │ ├── UpdatePasswordRequestParam.ts │ │ ├── WithdrawRequestDTO.ts │ │ └── WithdrawRequestParam.ts ├── main.ts └── notification │ ├── NotificationModule.ts │ ├── application │ ├── InjectionToken.ts │ ├── adaptor │ │ └── EmailAdaptor.ts │ ├── command │ │ ├── SendEmailCommand.ts │ │ └── SendEmailHandler.ts │ └── query │ │ ├── FindNotificationHandler.ts │ │ ├── FindNotificationQuery.ts │ │ ├── FindNotificationResult.ts │ │ └── NotificationQuery.ts │ ├── domain │ ├── Notification.ts │ ├── NotificationFactory.ts │ └── NotificationRepository.ts │ ├── infrastructure │ ├── adaptor │ │ └── EmailAdaptorImplement.ts │ ├── entities │ │ └── NotificationEntity.ts │ ├── query │ │ └── NotificationQueryImplement.ts │ └── repository │ │ └── NotificationRepositoryImplement.ts │ └── interface │ ├── NotificationController.ts │ ├── NotificationIntegrationController.ts │ └── dto │ ├── FindAccountNotificationRequestParam.ts │ ├── FindNotificationRequestQueryString.ts │ └── FindNotificationResponseDto.ts ├── tsconfig.build.json └── tsconfig.json /.aws/localstack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.aws/localstack.sh -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.github/workflows/stale.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/Dockerfile.dev -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /libs/Auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/Auth.ts -------------------------------------------------------------------------------- /libs/DatabaseModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/DatabaseModule.ts -------------------------------------------------------------------------------- /libs/HttpExceptionFilter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/HttpExceptionFilter.ts -------------------------------------------------------------------------------- /libs/LoggingInterceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/LoggingInterceptor.ts -------------------------------------------------------------------------------- /libs/MessageModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/MessageModule.ts -------------------------------------------------------------------------------- /libs/PasswordModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/PasswordModule.ts -------------------------------------------------------------------------------- /libs/RequestStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/RequestStorage.ts -------------------------------------------------------------------------------- /libs/RequestStorageMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/RequestStorageMiddleware.ts -------------------------------------------------------------------------------- /libs/Transactional.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/libs/Transactional.ts -------------------------------------------------------------------------------- /manifest.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/manifest.yaml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/nest-cli.json -------------------------------------------------------------------------------- /nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/nginx.conf -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/package.json -------------------------------------------------------------------------------- /src/AppController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/AppController.ts -------------------------------------------------------------------------------- /src/AppModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/AppModule.ts -------------------------------------------------------------------------------- /src/AppService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/AppService.ts -------------------------------------------------------------------------------- /src/Config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/Config.ts -------------------------------------------------------------------------------- /src/account/AccountsModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/AccountsModule.ts -------------------------------------------------------------------------------- /src/account/application/InjectionToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/InjectionToken.ts -------------------------------------------------------------------------------- /src/account/application/command/CloseAccountCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/CloseAccountCommand.ts -------------------------------------------------------------------------------- /src/account/application/command/CloseAccountHandler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/CloseAccountHandler.spec.ts -------------------------------------------------------------------------------- /src/account/application/command/CloseAccountHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/CloseAccountHandler.ts -------------------------------------------------------------------------------- /src/account/application/command/DepositCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/DepositCommand.ts -------------------------------------------------------------------------------- /src/account/application/command/DepositHandler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/DepositHandler.spec.ts -------------------------------------------------------------------------------- /src/account/application/command/DepositHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/DepositHandler.ts -------------------------------------------------------------------------------- /src/account/application/command/LockAccountCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/LockAccountCommand.ts -------------------------------------------------------------------------------- /src/account/application/command/LockAccountHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/LockAccountHandler.ts -------------------------------------------------------------------------------- /src/account/application/command/OpenAccountCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/OpenAccountCommand.ts -------------------------------------------------------------------------------- /src/account/application/command/OpenAccountHandler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/OpenAccountHandler.spec.ts -------------------------------------------------------------------------------- /src/account/application/command/OpenAccountHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/OpenAccountHandler.ts -------------------------------------------------------------------------------- /src/account/application/command/RemitCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/RemitCommand.ts -------------------------------------------------------------------------------- /src/account/application/command/RemitHandler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/RemitHandler.spec.ts -------------------------------------------------------------------------------- /src/account/application/command/RemitHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/RemitHandler.ts -------------------------------------------------------------------------------- /src/account/application/command/UpdatePasswordCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/UpdatePasswordCommand.ts -------------------------------------------------------------------------------- /src/account/application/command/UpdatePasswordHandler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/UpdatePasswordHandler.spec.ts -------------------------------------------------------------------------------- /src/account/application/command/UpdatePasswordHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/UpdatePasswordHandler.ts -------------------------------------------------------------------------------- /src/account/application/command/WithdrawCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/WithdrawCommand.ts -------------------------------------------------------------------------------- /src/account/application/command/WithdrawHandler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/WithdrawHandler.spec.ts -------------------------------------------------------------------------------- /src/account/application/command/WithdrawHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/command/WithdrawHandler.ts -------------------------------------------------------------------------------- /src/account/application/event/AccountClosedHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/event/AccountClosedHandler.ts -------------------------------------------------------------------------------- /src/account/application/event/AccountOpenedHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/event/AccountOpenedHandler.ts -------------------------------------------------------------------------------- /src/account/application/event/DepositedHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/event/DepositedHandler.ts -------------------------------------------------------------------------------- /src/account/application/event/PasswordUpdatedHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/event/PasswordUpdatedHandler.ts -------------------------------------------------------------------------------- /src/account/application/event/WithdrawnHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/event/WithdrawnHandler.ts -------------------------------------------------------------------------------- /src/account/application/query/AccountQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/query/AccountQuery.ts -------------------------------------------------------------------------------- /src/account/application/query/FindAccountByIdHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/query/FindAccountByIdHandler.ts -------------------------------------------------------------------------------- /src/account/application/query/FindAccountByIdQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/query/FindAccountByIdQuery.ts -------------------------------------------------------------------------------- /src/account/application/query/FindAccountByIdResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/query/FindAccountByIdResult.ts -------------------------------------------------------------------------------- /src/account/application/query/FindAccountsHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/query/FindAccountsHandler.ts -------------------------------------------------------------------------------- /src/account/application/query/FindAccountsQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/query/FindAccountsQuery.ts -------------------------------------------------------------------------------- /src/account/application/query/FindAccountsResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/application/query/FindAccountsResult.ts -------------------------------------------------------------------------------- /src/account/domain/Account.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/Account.spec.ts -------------------------------------------------------------------------------- /src/account/domain/Account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/Account.ts -------------------------------------------------------------------------------- /src/account/domain/AccountDomainService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/AccountDomainService.spec.ts -------------------------------------------------------------------------------- /src/account/domain/AccountDomainService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/AccountDomainService.ts -------------------------------------------------------------------------------- /src/account/domain/AccountFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/AccountFactory.ts -------------------------------------------------------------------------------- /src/account/domain/AccountRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/AccountRepository.ts -------------------------------------------------------------------------------- /src/account/domain/ErrorMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/ErrorMessage.ts -------------------------------------------------------------------------------- /src/account/domain/event/AccountClosedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/event/AccountClosedEvent.ts -------------------------------------------------------------------------------- /src/account/domain/event/AccountOpenedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/event/AccountOpenedEvent.ts -------------------------------------------------------------------------------- /src/account/domain/event/DepositedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/event/DepositedEvent.ts -------------------------------------------------------------------------------- /src/account/domain/event/PasswordUpdatedEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/event/PasswordUpdatedEvent.ts -------------------------------------------------------------------------------- /src/account/domain/event/WithdrawnEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/domain/event/WithdrawnEvent.ts -------------------------------------------------------------------------------- /src/account/infrastructure/entity/AccountEntity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/infrastructure/entity/AccountEntity.ts -------------------------------------------------------------------------------- /src/account/infrastructure/entity/BaseEntity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/infrastructure/entity/BaseEntity.ts -------------------------------------------------------------------------------- /src/account/infrastructure/query/AccountQueryImplement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/infrastructure/query/AccountQueryImplement.ts -------------------------------------------------------------------------------- /src/account/infrastructure/repository/AccountRepositoryImplement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/infrastructure/repository/AccountRepositoryImplement.ts -------------------------------------------------------------------------------- /src/account/interface/AccountTaskController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/AccountTaskController.ts -------------------------------------------------------------------------------- /src/account/interface/AccountsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/AccountsController.ts -------------------------------------------------------------------------------- /src/account/interface/ResponseDescription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/ResponseDescription.ts -------------------------------------------------------------------------------- /src/account/interface/dto/DeleteAccountRequestParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/DeleteAccountRequestParam.ts -------------------------------------------------------------------------------- /src/account/interface/dto/DepositRequestDto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/DepositRequestDto.ts -------------------------------------------------------------------------------- /src/account/interface/dto/DepositRequestParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/DepositRequestParam.ts -------------------------------------------------------------------------------- /src/account/interface/dto/FindAccountByIdRequestParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/FindAccountByIdRequestParam.ts -------------------------------------------------------------------------------- /src/account/interface/dto/FindAccountByIdResponseDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/FindAccountByIdResponseDTO.ts -------------------------------------------------------------------------------- /src/account/interface/dto/FindAccountsRequestQueryString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/FindAccountsRequestQueryString.ts -------------------------------------------------------------------------------- /src/account/interface/dto/FindAccountsResponseDto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/FindAccountsResponseDto.ts -------------------------------------------------------------------------------- /src/account/interface/dto/OpenAccountRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/OpenAccountRequestDTO.ts -------------------------------------------------------------------------------- /src/account/interface/dto/RemitRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/RemitRequestDTO.ts -------------------------------------------------------------------------------- /src/account/interface/dto/RemitRequestParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/RemitRequestParam.ts -------------------------------------------------------------------------------- /src/account/interface/dto/UpdatePasswordRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/UpdatePasswordRequestDTO.ts -------------------------------------------------------------------------------- /src/account/interface/dto/UpdatePasswordRequestParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/UpdatePasswordRequestParam.ts -------------------------------------------------------------------------------- /src/account/interface/dto/WithdrawRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/WithdrawRequestDTO.ts -------------------------------------------------------------------------------- /src/account/interface/dto/WithdrawRequestParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/account/interface/dto/WithdrawRequestParam.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/notification/NotificationModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/NotificationModule.ts -------------------------------------------------------------------------------- /src/notification/application/InjectionToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/InjectionToken.ts -------------------------------------------------------------------------------- /src/notification/application/adaptor/EmailAdaptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/adaptor/EmailAdaptor.ts -------------------------------------------------------------------------------- /src/notification/application/command/SendEmailCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/command/SendEmailCommand.ts -------------------------------------------------------------------------------- /src/notification/application/command/SendEmailHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/command/SendEmailHandler.ts -------------------------------------------------------------------------------- /src/notification/application/query/FindNotificationHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/query/FindNotificationHandler.ts -------------------------------------------------------------------------------- /src/notification/application/query/FindNotificationQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/query/FindNotificationQuery.ts -------------------------------------------------------------------------------- /src/notification/application/query/FindNotificationResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/query/FindNotificationResult.ts -------------------------------------------------------------------------------- /src/notification/application/query/NotificationQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/application/query/NotificationQuery.ts -------------------------------------------------------------------------------- /src/notification/domain/Notification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/domain/Notification.ts -------------------------------------------------------------------------------- /src/notification/domain/NotificationFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/domain/NotificationFactory.ts -------------------------------------------------------------------------------- /src/notification/domain/NotificationRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/domain/NotificationRepository.ts -------------------------------------------------------------------------------- /src/notification/infrastructure/adaptor/EmailAdaptorImplement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/infrastructure/adaptor/EmailAdaptorImplement.ts -------------------------------------------------------------------------------- /src/notification/infrastructure/entities/NotificationEntity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/infrastructure/entities/NotificationEntity.ts -------------------------------------------------------------------------------- /src/notification/infrastructure/query/NotificationQueryImplement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/infrastructure/query/NotificationQueryImplement.ts -------------------------------------------------------------------------------- /src/notification/infrastructure/repository/NotificationRepositoryImplement.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/infrastructure/repository/NotificationRepositoryImplement.ts -------------------------------------------------------------------------------- /src/notification/interface/NotificationController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/interface/NotificationController.ts -------------------------------------------------------------------------------- /src/notification/interface/NotificationIntegrationController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/interface/NotificationIntegrationController.ts -------------------------------------------------------------------------------- /src/notification/interface/dto/FindAccountNotificationRequestParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/interface/dto/FindAccountNotificationRequestParam.ts -------------------------------------------------------------------------------- /src/notification/interface/dto/FindNotificationRequestQueryString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/interface/dto/FindNotificationRequestQueryString.ts -------------------------------------------------------------------------------- /src/notification/interface/dto/FindNotificationResponseDto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/src/notification/interface/dto/FindNotificationResponseDto.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kyhsa93/nestjs-rest-cqrs-example/HEAD/tsconfig.json --------------------------------------------------------------------------------