example project!. show case how to use speakeasy to create 2fa authentication
clone project
$ cd 2fa-auth-example
$ yarn install
$yarn start
- GET (/totp) for example implement Time-Based One-time Password (TOTP) algorithm
- GET (/hotp) for example implement HMAC-Based One-Time Password (HOTP) algorithm