One platform, product-local URLs
Hostname-aware routing maps clean public subdomain URLs into shared internal route trees instead of maintaining five separate applications.
Five product surfaces. One operating network.
Product architecture · full-stack engineering · auth design · operations UX
Production platform
2026
Spotly has five public product origins but one underlying operating network. Identity, permissions, navigation, payments, delivery state, notifications, and kiosk behavior must survive domain boundaries without duplicating the product five times.
Hostname-aware routing maps clean public subdomain URLs into shared internal route trees instead of maintaining five separate applications.
A verified Firebase ID token becomes a secure parent-domain HttpOnly session. Sibling products bootstrap their local Firebase session with a custom token.
Driver approval, sensitive delivery actions, payout-related data, and kiosk credentials are not left to direct browser writes.
Customer, Business, Driver, Staff, and Admin use one platform, but the information density and action language are role-specific.
Keeping clean product-local URLs while sharing one codebase required hostname-aware routing and a deliberate authentication bridge instead of relying on origin-scoped browser persistence.
Have something complicated that needs to feel simple?