This is an application example implementing an SMS phone verification using Python 3.12.2 and Flask web framework.
Follow along using this "How to Build a Basic Flask Website to Authenticate Users with Twilio Verify" tutorial.
This project is built using Flask web framework.
-
First clone this repository and
cd
into it.$ git clone [email protected]:twilio-samples/sms-phone-verification-python.git $ cd sms-phone-verification-python
-
Create a new virtual environment.
-
If using vanilla virtualenv:
virtualenv venv source venv/bin/activate
-
If using virtualenvwrapper:
mkvirtualenv sms-phone-verification-python
-
-
Install the dependencies.
pip install -r requirements.txt
-
Start the server.
flask run
-
Expose the application to the wider Internet using ngrok.
ngrok http 5000
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.