Web Routing & Navigation
These flow diagrams show exactly what happens when users navigate through the Hububb application, based on their authentication status and onboarding completion. They help understand the user experience from a business perspective, showing the decision points and automatic redirects that guide users to the right place.
Unauthenticated User Flow
flowchart TD
A[User visits any URL] --> B{Is user authenticated?}
B -->|No| C[User sees landing page or auth pages]
C --> D{What page did they visit?}
D -->|/ or /landing-page| E[Show public landing page]
D -->|/auth/sign-in| F[Show sign-in form]
D -->|/auth/sign-up| G[Show sign-up form]
D -->|/auth/forgot-password| H[Show password reset form]
D -->|Any protected route| I[Redirect to /auth/sign-in]
E --> J{User takes action}
F --> K{User signs in}
G --> L{User signs up}
H --> M{User resets password}
J -->|Clicks Sign In| F
J -->|Clicks Sign Up| G
J -->|Clicks Forgot Password| H
K -->|Success| N[User becomes authenticated]
L -->|Success| N
M -->|Success| F
K -->|Failure| F
L -->|Failure| G
M -->|Failure| H
N --> O[Check user role and onboarding status]Authenticated User Flow
Detailed User Journey Examples
New User Sign-Up Journey
3
Returning User Sign-In Journey
4
User Navigation Within App
1
2
Last updated