Web Routing & Navigation
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
Returning User Sign-In Journey
User Navigation Within App
Last updated