FLOW LGX · PART 5 · FEBRUARY 2026
February 2026 was the month the dashboards stopped being pictures and started showing real data. That meant two things: a complete sign-in journey, and a clean way for every screen to talk to the server.
Month by month, how a logistics platform for a Toronto client went from a simple brief to a live, multi-company SaaS product.
Users register, sign in and reset passwords with one-time email codes, then land on their own home page. Data loading was tuned so busy dashboards stay fast and never save anything twice.
Sign-in is the first impression of any platform and the place users get stuck most often. Flow LGX supports registration, sign-in, forgotten password, a one-time code sent by email, and password reset. Each screen has clear validation — names without leading spaces, real email formats, strong passwords — so problems are caught before a request is sent.
After sign-in, the user’s role decides where they land. A dispatcher goes straight to the dispatch area; a customer goes to their own home page. Nobody sees a generic dashboard and has to find their way.
Calls to the server are grouped the same way as pages: one module per role — super admin, admin, staff, dispatcher, distributor, vendor, direct customer — plus shared and public modules for things everyone uses, like notifications or the public carrier sign-up. A developer looking for “the call that loads warehouse inbound work” knows exactly which folder to open.
All requests go through one HTTP client that adds the user’s access token and handles expired sessions in one place (the next problem-solved post explains how).
TanStack Query handles fetching and caching. We tuned its defaults for an operations dashboard rather than leaving them generic:
Never retry a write automatically. Reads can be repeated safely; a second “create” is a duplicate invoice.