Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
 
 
db
 
 
 
 
log
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

⚠️ This example has been intgerated into the main repository ⚠️


Angular2-Token

Angular 2 Style Guide

About

This an example for Angular2-Token a token based authentication service for Angular with multiple user support. It uses a Rails 5.0 API backend with the devise token auth gem.

Angular2-Token is currently in Alpha. Any contribution is much appreciated.

Content

Requirements

  • NodeJs >= 6.3.1
  • Ruby >= 2.2.2

Installation

  1. Clone this repository with

    git clone https://github.com/neroniaky/angular2-token-example.git
  2. Move to the directory and install gem dependencies

    cd angular2-token-example
    bundle install
  3. Migrate the database

    rails db:migrate
  4. Install angular2 client

    npm run postinstall

Run the app

  1. Run the rails server in the main directory with

    rails server
  2. Open http://localhost:3000 in your browser

License

The MIT License (see the LICENSE file for the full text)

About

🔑 Example for Angular2-Token (a token based authentication) with Devise Token Auth and Rails 5.0 API.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.