Creating aTypescript Environment

  1. For setting up typescript environment https://www.digitalocean.com/community/tutorials/setting-up-a-node-project-with-typescript
  2. https://medium.com/@dinubhagya97/how-to-set-up-a-node-js-typescript-express-project-ddf4b8fe4af6

Environment Variables

  1. PORT=5000 . The port on which the server will run.

Mongoose Refernces

  1. Documentation : https://mongoosejs.com/docs/typescript.html
  2. Github(TomDoesTech) : https://github.com/TomDoesTech/The-Ultimate-Guide-to-TypeScript-With-Mongoose/blob/main/src/models/user.model.ts

OTP Model

  1. Medium Article : https://medium.com/geekculture/how-to-make-a-scalable-otp-service-3df8300941ba
  2. Github(Divyansh12) : https://github.com/Divyansh12/node-otp-service/tree/master/models

OTP service

  1. https://www.fast2sms.com/dashboard/dlt-intro
  2. https://docs.fast2sms.com/?nodejs#post-method
  3. This servcie will not require any DLT configuration with the government.