Skip to content

TwilioDevEd/sms2fa-servlets

Repository files navigation

SMS Two Factor Authentication with Servlets

SMS Two Factor Authentication implementation with Servlets and Twilio.

Build Status

Requirements

Java 8

Local Development

  1. First clone this repository and cd into it.

    $ git clone git@github.com:TwilioDevEd/sms2fa-servlets.git
    $ cd sms2fa-servlets
  2. Edit the sample configuration file .env.example and edit it to match your configuration.

    Once you have edited the .env.example file, if you are using a unix operating system, just use the source command to load the variables into your environment:

    $ source .env.example

    If you are using a different operating system, make sure that all the variables from the .env.example file are loaded into your environment.

  3. Make sure the tests succeed.

    $ ./gradlew check
  4. Start the server.

    $ ./gradlew appRun
  5. Check it out at http://localhost:8080.

That's it!

Meta

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

Releases

No releases published

Packages

No packages published

Languages