alexabbott / firebase-cms

A CMS + E-commerce platform built with Angular and Firebase
https://fir-cms-76f54.firebaseapp.com/
MIT License
316 stars 126 forks source link

Decoupling routes and updating auth.guard #5

Closed ankemp closed 7 years ago

ankemp commented 7 years ago

In this PR I've decoupled the routes, and move them to their own file. I'll be soon decoupling this further and creating different modules for different parts of the CMS.

I've also re-generated the auth guard to follow the ng cli naming structure. (auth.guard instead of auth-guard.service). It's also been re-written to return a promise.