A simple REST API for sending OTPs via email.
Run the following command to install dependencies:
pip install -r requirements.txtCreate a .env file in the project root and add the following configuration:
FLASK_APP=app.py
FLASK_DEBUG=on
SENDER_PASSWORD="your_email_password"
SENDER_EMAIL="[email protected]"
project-folder/
│── templates/ # Folder for storing HTML email templates
│── app.py # Main Flask application
│── requirements.txt # Python dependencies