Git Product home page Git Product logo

arun4you / angular2-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thirunavukkarasu/angular2-boilerplate

0.0 2.0 0.0 7.64 MB

A handy starter project built using Angular2 which provides multiple routes and token based authentication using auth0

Home Page: https://thirunavukkarasu.github.io/angular2-boilerplate/

License: MIT License

TypeScript 60.80% JavaScript 10.41% HTML 22.09% CSS 6.70%

angular2-boilerplate's Introduction

Angular2 Boilerplate

Angular2 Boilerplate is an application built with Angular 2 that shows how add mutiple routes and shows hoow you can add token based authentication to your Angular 2 applications.

Development server

Install the dependencies for this application by running npm install. Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Auth0 Credentials

You will need an Auth0 Account to implement the Authentication Service. Sign up for a free account. Edit the auth.service.ts file and update the ClientID and Domain with your Auth0 credentials.

Note: Be sure to run the server portion of this project first, otherwise you won't see any data that is called from the API.

What is Auth0?

Auth0 helps you to:

  • Add authentication with multiple authentication sources, either social like Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, amont others, or enterprise identity systems like Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider.
  • Add authentication through more traditional username/password databases.
  • Add support for linking different user accounts with the same user.
  • Support for generating signed Json Web Tokens to call your APIs and flow the user identity securely.
  • Analytics of how, when and where users are logging in.
  • Pull data from other sources and add it to the user profile, through JavaScript rules.

Create a free Auth0 account

  1. Go to Auth0.
  2. Use Google, GitHub or Microsoft Account to log in.

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section.

Author

Thirunavukkarasu

License

This project is licensed under the MIT license. See the LICENSE file for more info.

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.