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

Angular Routes Approach #31

Open wilsonsergio2500 opened 3 years ago

wilsonsergio2500 commented 3 years ago

Hi @alexabbott

I placed a PR with more fixes. Let me know if you are good with the new approach on the routes https://github.com/alexabbott/firebase-cms/pull/30

Here is the sample application where you could see it ,as it stands with these changes https://fir-cms-vnext.web.app/ you could login with admin@admin.com as originally :-)

wilsonsergio2500 commented 3 years ago

Hi @alexabbott

Let me know if you ok with the concept of this PR.

The core concept was to separate CMS Page vs. Store vs. Admin View. so in other words the page route is introduced as https://site/[page_name] vs. Store module routes as https://site/store/ and Admin module continues under https://site/admin/

I could re-organized if you would like. Let me know 💯