A very basic implementation of 2 API calls for generating and verifying OTP
- Clone the repo
git clone https://github.com/bebarle/otp.git
- Install the app dependencies:
cd otp
npm install
- Config There is a .env file to manage timeout and port. Default values are:
PORT = 3000
REQUEST_TIMEOUT_IN_SECONDS=60
- Run
npm start