Best Flask open-source libraries and packages

Sms2fa

Two Factor Authentication using SMS using Africa's Talking SMS API
Updated 9 months ago

sms2fa

Two Factor Authentication using SMS, initially a project by Twilio Dev modified to use Africa's Taking API

Local Development

This project is built using Flask web framework.

  1. First clone this repository and cd into it.

    $ git clone https://github.com/bmwasaru/sms2fa.git
    $ cd sms2fa
  2. Create a new virtual environment.

  3. Install the dependencies.

    pip install -r requirements.txt
  4. Copy the sample configuration file and edit it to match your configuration.

    $ cp .env.example .env

    Run source .env to export the environment variables.

  5. Run the migrations.

    Our app uses SQLite, so you probably will not need to install additional software.

    python manage.py db upgrade
  6. Make sure the tests succeed.

    $ coverage run manage.py test
  7. Start the server.

    python manage.py runserver
  8. Check it out at: http://localhost:5000/.