A basic app that requires authentication to access the main route and show the fake secret codes. Built with Ember 2.3 and uses a simple Node/Express server (endpoints located /server/index.js) for authentication.
The login credentials are passed to the server, which verifies them and then returns a token. This token is required to access the main route.
The app also displays the email address of the authenticated user (currently hardcoded for testing purposes).
Update the app to authenticate using a rails backend. https://github.com/doorkeeper-gem/doorkeeper http://www.thegreatcodeadventure.com/jwt-authentication-with-rails-ember-part-i-rails-knock/
You will need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
ember server
- Visit your app at http://localhost:4200.
https://emberigniter.com/implementing-authentication-with-ember-services/