measured / brandguide

BMS engine for brandguide
admin.brandguide.io
0 stars 0 forks source link

URL management #9

Closed haustraliaer closed 10 years ago

haustraliaer commented 10 years ago

Ideally ... the front end of the brand would be setup with a subdomain, and the access to the brand inside the application (admin) would be a folder in the root domain, eg:

http://bex.brandguid.io -> routes to the client facing brand guide
http://brandguide.io/bex -> routes to the admin section for that brand.

Anyone attempting to access the latter without having logged in will hit the authorisation screen for the admin account. In the future, multiple admin accounts (customers) might see urls like this:

http://brandguide.io/customer/brand

To that end, perhaps we should set it up that way and make our starting point:

http://brandguide.io/admin/brand

Where ../admin/ would give you the overview of all the brands.

mattlenz commented 10 years ago

We can do this on Heroku with wildcard subdomains. Will need to install Pow on our development machines for local testing.

haustraliaer commented 10 years ago

Sounds good. I think this setup will be the best way to do it, that way we're super clear as to what is admin and what is (sort of) public.