Files
carmanagement/docs/project-design/PAGES.md
T
root c77d0a8e89
Build & Push / Build & Push Docker Image (push) Failing after 10m39s
Rename legacy storefront app and references to carplace
Replace storefront naming across source, tests, docs, config, and production scripts. Rename the legacy top-level app directory and Carplace component files, remove duplicate storefront startup scripts, and refresh the lockfile.
2026-07-04 18:10:08 -04:00

180 lines
4.5 KiB
Markdown

# Pages and Route Inventory — Current Apps
This document lists the pages that are actually present in the current frontend apps.
Source of truth:
- `apps/carplace/src/app`
- `apps/dashboard/src/app`
- `apps/admin/src/app`
## Carplace App
App:
- `apps/carplace`
### Public routes
- `/`
- `/pricing`
- `/features`
- `/explore`
- `/explore/[slug]`
- `/review`
- `/company-workspace`
- `/platform-operations`
- `/sign-in`
- `/app-privacy-en`
- `/app-privacy-fr`
- `/app-privacy-ar`
- `/app-tc-en`
- `/app-tc-fr`
- `/app-tc-ar`
- `/footer/[slug]`
### Active route behavior
- `/` is the public marketing home.
- `/pricing` consumes platform pricing from `/site/platform/pricing`.
- `/explore` is the public carplace search/discovery page.
- `/explore/[slug]` is the company carplace profile page.
- `/review` is the review submission page driven by a reservation review token.
### Not present in the current carplace app
- `/about`
- `/contact`
- `/blog`
- `/explore/[slug]/vehicles/[id]`
- a full company public-site booking frontend under its own app
### Renter routes present in code but not active product entrypoints
These routes exist in the carplace app:
- `/renter/dashboard`
- `/renter/notifications`
- `/renter/profile`
- `/renter/saved-companies`
- `/renter/sign-in`
- `/renter/sign-up`
However:
- `/renter/sign-in` redirects to the dashboard sign-in page
- `/renter/sign-up` redirects to the dashboard sign-in page
- API renter signup/login endpoints are disabled
Because of that, the renter self-service area should be treated as dormant or incomplete, not as an active supported user flow.
## Dashboard App
App:
- `apps/dashboard`
Base path:
- `/dashboard`
### Public/auth routes
- `/dashboard/sign-in`
- `/dashboard/sign-up`
- `/dashboard/forgot-password`
- `/dashboard/reset-password`
- `/dashboard/onboarding`
- `/dashboard/onboarding/accept-invite`
### Private company workspace routes
- `/dashboard`
- `/dashboard/fleet`
- `/dashboard/fleet/[id]`
- `/dashboard/reservations`
- `/dashboard/reservations/new`
- `/dashboard/reservations/[id]`
- `/dashboard/online-reservations`
- `/dashboard/customers`
- `/dashboard/offers`
- `/dashboard/team`
- `/dashboard/reports`
- `/dashboard/subscription`
- `/dashboard/billing`
- `/dashboard/contracts`
- `/dashboard/contracts/[id]`
- `/dashboard/reviews`
- `/dashboard/complaints`
- `/dashboard/notifications`
- `/dashboard/settings`
### Route responsibilities
- `/dashboard` shows KPIs and booking-source analytics.
- `/dashboard/fleet*` manages vehicles, maintenance, and calendar blocks.
- `/dashboard/reservations*` manages the booking lifecycle and inspection workflows.
- `/dashboard/online-reservations` handles public/carplace booking intake.
- `/dashboard/customers` is the company CRM view.
- `/dashboard/offers` manages promotions.
- `/dashboard/team` manages employees.
- `/dashboard/reports` shows analytics/reporting views.
- `/dashboard/subscription` manages SaaS plan state and invoices.
- `/dashboard/billing` manages rental payment collection and balances.
- `/dashboard/contracts*` opens rental contracts.
- `/dashboard/reviews` and `/dashboard/complaints` handle post-rental follow-up.
- `/dashboard/notifications` shows notification inbox/history/preferences.
- `/dashboard/settings` manages brand, domains, policies, insurance, pricing, and accounting settings.
## Admin App
App:
- `apps/admin`
### Public routes
- `/`
- `/login`
- `/forgot-password`
- `/reset-password`
- `/auth-redirect`
### Private admin dashboard routes
- `/dashboard`
- `/dashboard/companies`
- `/dashboard/companies/[id]`
- `/dashboard/renters`
- `/dashboard/admin-users`
- `/dashboard/audit-logs`
- `/dashboard/billing`
- `/dashboard/pricing`
- `/dashboard/notifications`
- `/dashboard/site-config`
- `/dashboard/containers`
### Route responsibilities
- `/dashboard` is the admin overview.
- `/dashboard/companies*` manages tenant companies.
- `/dashboard/renters` inspects and blocks/unblocks renter accounts.
- `/dashboard/admin-users` manages admin operators.
- `/dashboard/audit-logs` reviews admin activity.
- `/dashboard/billing` manages platform billing operations.
- `/dashboard/pricing` edits platform pricing, features, and promotions.
- `/dashboard/notifications` inspects platform notifications.
- `/dashboard/site-config` edits carplace/site configuration content.
## Deliberately Not Listed
This document excludes:
- API endpoints
- dormant backend-only concepts that do not have an active frontend route
- design-spec routes that are not present in the current app trees
For backend route inventory, use:
- `docs/project-design/api-routes.md`