OTP-Heroku is a sample API created using the 12-Factor-App methodology.
The design of this API has been documented in the following blog post ( in french)
To build the API, you must install the following softwares:
mvn clean install
mvn spring-boot:run
This server is used for testing and educational purpose only.
We are using Mailgun as mail server for email delivery. This server sends emails only to addresses that have been whitelisted.
To whitelist a email address you'll like to use for testing the API:
- Create a new issue containing the email address you want to whitelist
- We will whitelist your email address within 24 hours.
- You'll receive a confirmation email to accept receiving email from the Mailgun.
We are using MTN SMS for SMS delivery. But SMS delivery doesn't work because the account we are using is not production ready.
- Goto to the online API playgoung on Heroku