FleetFlow Production Board · View Kanban Board →
Next.js enterprise operations portal for FleetFlow (auth, RBAC, dispatch, tracking).
Full gallery (dashboard, notifications, create order, map picker, proof photos, fleet, ledger): docs/web-version-visual-preview/WEB_VERSION_VISUAL_PREVIEW.md
- Next.js 15 App Router · React 19 · Zustand · Tailwind CSS
- Formik · Yup · Lucide · Auto Animate
pnpm install
pnpm run dev # http://localhost:3001API must run at http://localhost:3000 (see fleetflow-infra + fleetflow-api).
End-to-end demo (merchant create → matcher → Flutter pickup/deliver → live tracker): DEMO_E2E.md
- JWT login + 6 demo RBAC personas
- Middleware + client
RouteGuardpermission enforcement - Enterprise dashboard with KPI MoM metrics
- Order create + live tracker with skeleton loading
- Proof-of-delivery photos + SSE realtime sync
- Reusable UI kit (
AppLink, skeletons, overlays)
| Doc | Content |
|---|---|
| docs/web-version-visual-preview/WEB_VERSION_VISUAL_PREVIEW.md | Web UI screenshot gallery |
| docs/COMPONENTS.md | Reusable component catalog |
| docs/WEB_PATTERNS.md | Auth, RBAC, loading, navigation |
| ../.cursor/skills/fleetflow-web-ui/SKILL.md | Agent skill for UI work |
| ../.cursor/skills/fleetflow-rbac-portal/SKILL.md | Agent skill for portal RBAC |
| Layer | Command |
|---|---|
| Unit (Jest) | pnpm test |
| E2E (Playwright) | pnpm test:e2e |
| Playwright UI (click play) | pnpm test:e2e:ui |
| E2E + visible browser | pnpm exec playwright test --headed |
| E2E debug (step-by-step) | pnpm exec playwright test --debug |
| Install Chromium (first run) | pnpm test:e2e:install |
Run all commands from fleetflow-web (not monorepo root).
# Unit tests
pnpm test
# E2E headless (UI mock — does NOT test real order matching)
pnpm test:e2e
# Live API order matching (requires infra + seed + API on :3000)
PLAYWRIGHT_LIVE_API=true pnpm test:e2e:live
# Playwright UI — pick a test, click play (▶), browser opens while it runs
pnpm test:e2e:ui
# E2E with browser visible (no UI panel)
pnpm exec playwright test --headed
# One spec file + browser
pnpm exec playwright test e2e/portal.spec.ts --headed
# Step-through debugger
pnpm exec playwright test --debug
# First-time setup (if browser missing)
pnpm test:e2e:install
# Open last HTML report
pnpm test:e2e:reportFull guide: fleetflow-docs/QA_TESTING.md
Portfolio architecture diagram + video script: fleetflow-docs/ARCHITECTURE.md
src/components/ui/ # Reusable primitives + skeletons
src/lib/auth/ # RBAC, access rules, session
src/lib/navigation/ # Nav icons, quick-action copy
src/hooks/useAppNavigation.ts
| Repo | Role |
|---|---|
| fleetflow-api | Backend API |
| fleetflow-shared | Shared contracts |
| fleetflow-app | Driver mobile app |
| fleetflow-infra | Docker & local HA |
| fleetflow-docs | Architecture docs |
Set Website in repo About → https://github.com/users/aldoprogrammer/projects/2