├── .dockerignore ├── .env.example ├── .eslintrc.js ├── .github └── workflows │ ├── codeql-analysis.yml │ ├── healthCheck.yml │ ├── unitEfine.yml │ └── unitSafeDriving.yml ├── .gitignore ├── .prettierrc ├── .travis.yml ├── CHANGELOG.md ├── Dockerfile ├── README.md ├── codecov.yml ├── nest-cli.json ├── package.json ├── src ├── app.controller.spec.ts ├── app.controller.ts ├── app.module.spec.ts ├── app.module.ts ├── app.service.ts ├── main.ts ├── shared │ └── core │ │ ├── AggregateRoot.ts │ │ ├── CoreResponse.ts │ │ ├── Result.spec.ts │ │ ├── Result.ts │ │ ├── UseCase.ts │ │ └── ValueObject.ts └── verification │ ├── VerificationModule.ts │ ├── application │ └── CreateDriverLicenseVerificationUseCase │ │ ├── CreateDriverLicenseVerificationUseCase.ts │ │ ├── DriverLicenseVerificationErrorCode.ts │ │ ├── api │ │ ├── Efine.spec.ts │ │ ├── Efine.ts │ │ ├── InternalApiRequestError.spec.ts │ │ ├── InternalApiRequestError.ts │ │ ├── SafeDriving.spec.ts │ │ └── SafeDriving.ts │ │ └── dto │ │ ├── CreateDriverLicenseVerificationUseCaseRequest.ts │ │ └── CreateDriverLicenseVerificationUseCaseResponse.ts │ ├── domain │ ├── DriverBirthday.spec.ts │ ├── DriverBirthday.ts │ ├── DriverLicense.spec.ts │ ├── DriverLicense.ts │ ├── DriverName.spec.ts │ ├── DriverName.ts │ ├── LicenseNumber.spec.ts │ ├── LicenseNumber.ts │ ├── SerialNumber.spec.ts │ └── SerialNumber.ts │ └── presentation │ └── DriverLicenseVerificationController │ ├── DriverLicenseVerificationController.ts │ ├── DriverLicenseVerificationControllerFailedResponse.ts │ ├── DriverLicenseVerificationControllerRequestBody.ts │ └── DriverLicenseVerificationControllerSuccessfulResponse.ts ├── test ├── app.e2e-spec.ts ├── jest-e2e.json └── verification.e2e-spec.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- 1 | **/node_modules 2 | .git/* 3 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/healthCheck.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.github/workflows/healthCheck.yml -------------------------------------------------------------------------------- /.github/workflows/unitEfine.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.github/workflows/unitEfine.yml -------------------------------------------------------------------------------- /.github/workflows/unitSafeDriving.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.github/workflows/unitSafeDriving.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.prettierrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/codecov.yml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/package.json -------------------------------------------------------------------------------- /src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/app.controller.spec.ts -------------------------------------------------------------------------------- /src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/app.controller.ts -------------------------------------------------------------------------------- /src/app.module.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/app.module.spec.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/app.service.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/shared/core/AggregateRoot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/shared/core/AggregateRoot.ts -------------------------------------------------------------------------------- /src/shared/core/CoreResponse.ts: -------------------------------------------------------------------------------- 1 | export interface CoreResponse { 2 | code: string; 3 | } 4 | -------------------------------------------------------------------------------- /src/shared/core/Result.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/shared/core/Result.spec.ts -------------------------------------------------------------------------------- /src/shared/core/Result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/shared/core/Result.ts -------------------------------------------------------------------------------- /src/shared/core/UseCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/shared/core/UseCase.ts -------------------------------------------------------------------------------- /src/shared/core/ValueObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/shared/core/ValueObject.ts -------------------------------------------------------------------------------- /src/verification/VerificationModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/VerificationModule.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/CreateDriverLicenseVerificationUseCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/CreateDriverLicenseVerificationUseCase.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/DriverLicenseVerificationErrorCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/DriverLicenseVerificationErrorCode.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/api/Efine.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/api/Efine.spec.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/api/Efine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/api/Efine.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/api/InternalApiRequestError.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/api/InternalApiRequestError.spec.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/api/InternalApiRequestError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/api/InternalApiRequestError.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/api/SafeDriving.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/api/SafeDriving.spec.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/api/SafeDriving.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/api/SafeDriving.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/dto/CreateDriverLicenseVerificationUseCaseRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/dto/CreateDriverLicenseVerificationUseCaseRequest.ts -------------------------------------------------------------------------------- /src/verification/application/CreateDriverLicenseVerificationUseCase/dto/CreateDriverLicenseVerificationUseCaseResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/application/CreateDriverLicenseVerificationUseCase/dto/CreateDriverLicenseVerificationUseCaseResponse.ts -------------------------------------------------------------------------------- /src/verification/domain/DriverBirthday.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/DriverBirthday.spec.ts -------------------------------------------------------------------------------- /src/verification/domain/DriverBirthday.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/DriverBirthday.ts -------------------------------------------------------------------------------- /src/verification/domain/DriverLicense.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/DriverLicense.spec.ts -------------------------------------------------------------------------------- /src/verification/domain/DriverLicense.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/DriverLicense.ts -------------------------------------------------------------------------------- /src/verification/domain/DriverName.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/DriverName.spec.ts -------------------------------------------------------------------------------- /src/verification/domain/DriverName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/DriverName.ts -------------------------------------------------------------------------------- /src/verification/domain/LicenseNumber.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/LicenseNumber.spec.ts -------------------------------------------------------------------------------- /src/verification/domain/LicenseNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/LicenseNumber.ts -------------------------------------------------------------------------------- /src/verification/domain/SerialNumber.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/SerialNumber.spec.ts -------------------------------------------------------------------------------- /src/verification/domain/SerialNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/domain/SerialNumber.ts -------------------------------------------------------------------------------- /src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationController.ts -------------------------------------------------------------------------------- /src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationControllerFailedResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationControllerFailedResponse.ts -------------------------------------------------------------------------------- /src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationControllerRequestBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationControllerRequestBody.ts -------------------------------------------------------------------------------- /src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationControllerSuccessfulResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/src/verification/presentation/DriverLicenseVerificationController/DriverLicenseVerificationControllerSuccessfulResponse.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /test/verification.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/test/verification.e2e-spec.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevejkang/driver-license-verification/HEAD/yarn.lock --------------------------------------------------------------------------------