Skip to content

twilio-samples/sms-phone-verification-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sms-phone-verification-python

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.

Local Development

This project is built using Flask web framework.

  1. First clone this repository and cd into it.

    $ git clone [email protected]:twilio-samples/sms-phone-verification-python.git
    $ cd sms-phone-verification-python
    
  2. Create a new virtual environment.

    • If using vanilla virtualenv:

      virtualenv venv
      source venv/bin/activate
    • If using virtualenvwrapper:

      mkvirtualenv sms-phone-verification-python
  3. Install the dependencies.

    pip install -r requirements.txt
  4. Start the server.

    flask run
  5. Expose the application to the wider Internet using ngrok.

    ngrok http 5000 

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •