Giter VIP home page Giter VIP logo

pvijayfullstack / angular2-token-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neroniaky/angular2-token-example

0.0 1.0 0.0 1.72 MB

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

Home Page: https://angular2-token.herokuapp.com

License: MIT License

Ruby 54.17% TypeScript 26.53% JavaScript 3.55% HTML 14.35% CSS 1.39%

angular2-token-example's Introduction

Angular2-Token

Join the chat at https://gitter.im/lynndylanhurley/devise_token_auth Angular 2 Style Guide

About

This an example for Angular2-Token a token based authentication service for Angular2 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.

Live Demo

You can find a running example here.

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)

angular2-token-example's People

Contributors

ezilocchi avatar neroniaky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.