Giter VIP home page Giter VIP logo

account-verification-rails's Introduction

Twilio

Account Verification Rails

Build Status

Verify new user accounts by sending them a one-time code via Authy. Reduce fraudulent signups in your applications and ensure your users are in fact living, breathing human beings.

Read the full tutorial here!

Local development

This project is built using Ruby on Rails Framework.

  1. First clone this repository and cd into it.

    $ git clone git://github.com/TwilioDevEd/account-verification-rails.git
    $ cd account-verification-rails
  2. Install the dependencies.

    $ bundle install
  3. Copy the .env.example file to .env, and edit it including your credentials for the Twilio API (found at https://www.twilio.com/console/account/settings) and your Authy API Key (found at https://dashboard.authy.com/). You will also need a Twilio Number.

    Run source .env to export the environment variables.

  4. Create database and run migrations.

    Make sure you have installed PostgreSQL. If on a Mac, I recommend Postgres.app.

    $ bundle exec rake db:setup
  5. Make sure the tests succeed.

    $ bundle exec rake test
  6. Start the development server:

    $ bundle exec rails s
    
  7. Check it out at http://localhost:3000.

Meta

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

account-verification-rails's People

Contributors

acamino avatar hortega avatar jarodreyes avatar joliveros avatar kwhinnery avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.