Skip to content

seanmavley/AngularFire2-Authentication

Repository files navigation

AngularFire2 Authentication

The related article about this project is available at https://blog.khophi.co/angularfire2-authentication/

What the article touches on

  • Initializing an Angular2 Project from scratch without the Angular CLI (I don't know why, but the ng CLI is too cumbersome to use for me. Well, that's another topic for another day)
  • SystemJS configurations and loading installed NPM node modules
  • Getting comfortable with Angular Components
  • Handling form input with the FormModule
  • Using the NgModule to encapsulate features or functionality in our app
  • Using the Angular 2 Final Router for Routing and Child Routes
  • Adding Authentication thanks to Firebase 3 via AngularFire2
  • Protecting certain routes with our Angular AuthGuard service
  • We'll throw in a little catch-all component for our 404 needs.

How to run

  • git clone https://github.com/seanmavley/AngularFire2-Authentication
  • npm install
  • Locate the firebaseProject-Sample.ts file, rename it to firebaseProject.ts and update to reflect your Firebase Project configuration, found in your Firebase Console.
  • npm start
  • Enjoy

License

Inherits licenses from packages used.