Skip to main content

Pages & Routes

The platform spans two Next.js apps: the customer site @rgss/web (theroyalglow.in) and the admin portal @rgss/admin (admin.theroyalglow.in). Together they cover ~104 pages plus the API layer.
The customer site uses Next.js App Router route groups (folders in parentheses) to share a layout without affecting the URL. The admin portal is a separate app served from admin.theroyalglow.in at root paths — the subdomain provides the admin namespace, so there is no /admin prefix. Legacy theroyalglow.in/admin/* paths 301-redirect to the subdomain. Staff self-service lives at /me/* within the admin app. Admin routes are RBAC-gated; everything else is public or customer-authenticated.

Route Groups (@rgss/webtheroyalglow.in)

The admin portal (@rgss/admin, admin.theroyalglow.in) is a standalone app: admin pages at root paths under a sidebar + RBAC layout (receptionist+), and staff self-service pages at /me/* (staff+).

Page & API Map

Select an area of the platform.

Public (No Auth Required)

Authenticated (Customer)

Auth Pages

Last modified on July 30, 2026