2 phase application that generates a code for a unique identifier and sends sms. Useful for marketing campaigns or 2-factor security validations.
Disclaimer: This project represents my first steps using Golang while following the Clean Architecture (HEXA/Ports-n-Adapters) design
- Receives a cell phone number (msisdn) from an external client
- Generates a unique alfanumeric code and associates with the msisdn.
- Returns to the client
- Receives the code generated in phase 1 and checks with the last code for the given msisdn. If matches, returns ok, else incorrect input.
Requires usage of the following command-line arguments
TWILLIO_FROM_MSISDN - The registered phone number.
TWILLIO_ACCOUNT_SID - Your Account service id.
TWILLIO_AUTH_TOKEN - Authorization token.