AlphaSights Email Predictor is a simple Ruby on Rails application that uses a first name, last name and domain name to generate email predictions.
After forking and cloning this repository, run bundle install and then rake db:migrate from the terminal to install any missing our out of date gems.
A basic model test is included, using RSpec. To run the test suite, type rspec from the project's root directory.
This application uses Javascript to show users a form to enter email information. An AJAX call is used to send form params to the server and render the results in a modal.
Once you have bundled and all your gems are up to date run rails s in your terminal and open up your browser of choice. Once you are in your browser enter "localhost:3000" in the address bar.
When the page has loaded you will see a short description of the application and a "Let's get started" button. Press the button to proceed.
Once the form has displayed you can enter a first name, last name and domain name to generate an email.

