ekyc

Electronic KYC process with uploading ID document using OAuth 2.1 (experimental)
Log | Files | Refs | README | LICENSE

app.ts (789B)


      1 import { RegistryComposer } from "#core/composer.ts";
      2 import { createUseCases } from "#core/factory.ts";
      3 import { createEnvironment } from "#infrastructure/boot/environment.ts";
      4 import { createMailer } from "#infrastructure/boot/mailer.ts";
      5 import { createPersistance } from "#infrastructure/boot/persistance.ts";
      6 import { createSMSSender } from "#infrastructure/boot/sms.ts";
      7 import "$dotenv";
      8 import { createConfig } from "#infrastructure/config/factory.ts";
      9 import { createTesseractIDDocumentMRZScan } from "#infrastructure/tesseract/factory.ts";
     10 
     11 export const app = new RegistryComposer()
     12   .add(createEnvironment)
     13   .add(createPersistance)
     14   .add(createMailer)
     15   .add(createSMSSender)
     16   .add(createConfig)
     17   .add(createTesseractIDDocumentMRZScan)
     18   .add(createUseCases)
     19   .compose();