I’m nearly done with my first EmberJS app and, coming from server side, it really has been a pleasure to work with. However, I now need to take care of my admin pages.
How do you deal with that? Do you embed the admin routes into the same application that is served to the public, just adding an /admin route? Or do you keep that completely separate?
I currently uses Ember-Simple-Auth for authentication, my server being an OAuth 2 compliant server. If I properly handle the authorization on my server side, it should not be a problem, but I’m still a bit concerned, as the EmberJS routes can still say a bit about how the admin pages are architectured, and nothing prevent user to go to the admin pages (although most models won’t usually resolved as back-end will refuse).