(Note: Check the devel branch for a MOBILE exportable example)
This application is intended to serve as a starting point for single page web applications with a rails backend. It provides generic user registration with Ember.js and Ember-auth. Backend is implemented with Ruby on Rails and Devise. OAuth with different strategies is included.
Master branch is based on MongoDB + Mongoid. For ActiveRecord support use the active_record branch.
Heroku deploy with the latest build: https://starter-app.herokuapp.com
Run rails generate figaro:install
to create the config file. Then you need to edit the config/application.yml
file like that:
(Keys are invented, replace with your own)
GOOGLE_OAUTH_CLIENT_ID: 9090453928898-naibu567doi731fj99t10lbjt76o0s.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET: Ccb9NuORtD7asre574S63Pv65Y
LINKEDIN_API_KEY: riew01ft345fgzwv
LINKEDIN_SECRET_KEY: JM443DDs7fhqDinm0u
development:
GOOGLE_OAUTH_CLIENT_ID: 90901343298.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET: RyqFajMfdgfgwZsiN6xKt8GE1D
LINKEDIN_API_KEY: i8w41p4343ecr2z
LINKEDIN_SECRET_KEY: I4eEAdsafBbsdfdfd9o4WD
Contributions are very much welcome
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request