A Rails app that allows users to nominate each other for awards and vote on them. Inspired by the Sinatra app built by Omid Bachari and Alex Morgan.
Click Here To View Heroku Application
- Incorporating Github OmniAuth for user athentication.
- Building a secure admin interface.
- Employing Active Record callbacks to prevent modification and deletion of critical data.
- Using scopes to construct precise Active Record queries.
- Designing a visually attractive pages with SASS.
- Enhancing user interface with AJAX.
- First clone down the repo, load the schema, and run the seed file.
$ git clone https://github.com/davidrf/launchvotes.git
$ rake db:setup
- Sign In To Github and register a new OAuth application.
- For the "Homepage URL", fill in
http://localhost:3000
- For the "Authorization callback URL", fill in
http://localhost:3000/users/auth/github
- Once the application is registered, create a
.env
using the.env.example
as a template and use the "Client ID" and "Client Secret" from your registered OAuth application. - Start the server.
$ rails server
- Visit your application.