# amanchauhan-dev/invoice-harmony architecture

> Architecture diagram of the GitHub repository amanchauhan-dev/invoice-harmony, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-03-31). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amanchauhan-dev/invoice-harmony
- Repository: https://github.com/amanchauhan-dev/invoice-harmony

## Overview

1. This repository is a split frontend/backend application for a business workflow centered on customers, invoices, payments, dashboards, and settings. The two halves communicate over an HTTP API, with the frontend acting as the presentation and session layer and the backend as the domain/API and persistence layer.

2. The backend is organized as a feature-modular TypeScript server under `backend/src/features`. Each feature has the same three-part shape: `*.routes.ts` for endpoint wiring, `*.controller.ts` for request/response handling, and `*.service.ts` for business logic. The main feature boundaries are `auth`, `customer`, `dashboard`, `invoice`, `payment`, `profile`, `settings`, and `health`.

3. `backend/src/app.ts` and `backend/src/index.ts` form the server bootstrap path. Cross-cutting middleware lives in `backend/src/middlewares`, including `auth.middleware.ts` for protecting private endpoints and `errorHandler.ts` for centralized error translation. This means request flow is: route -> controller -> service -> middleware/error handler.

4. Persistence is isolated behind Prisma. `backend/prisma/schema.prisma` defines the data model, `backend/src/lib/prisma.ts` provides the Prisma client, and `backend/prisma.config.ts` supports Prisma setup. The backend services are the only layer that should talk to the database directly, which keeps controllers thin and makes the data access boundary explicit.

5. Shared request validation lives in `backend/src/shared/zod-schemas.ts`. That implies input shape checking is standardized across features, likely before business logic runs. For architecture purposes, validation sits between route/controller entry and service execution, reducing invalid-data leakage into the domain layer.

6. The `auth` feature is the main security boundary on the backend. It is paired with the auth middleware and front-end route protection, so login/session state determines whether the user can access invoice/customer/payment pages or not. This is the main boundary between public and private application areas.

7. The frontend is a Vite + React + TypeScript SPA. `frontend/src/main.tsx` boots the app, `App.tsx` defines top-level routing/layout, and `frontend/src/pages` contains page-level views for `Auth`, `Dashboard`, `Customers`, `Invoices`, `CreateInvoice`, `ViewInvoice`, `PayInvoice`, `Payments`, `Reports`, `Settings`, `Index`, and `NotFound`.

8. Frontend navigation is split into public and protected areas. `frontend/src/components/ProtectedRoute.tsx` gates authenticated routes, while `frontend/src/context/AuthContext.tsx` and `frontend/src/hooks/use-auth.ts` hold session/auth state for the UI. `frontend/src/components/layout/AppLayout.tsx` and `AppSidebar.tsx` define the authenticated shell used by the app’s internal pages.

9. API access on the frontend is centralized in `frontend/src/services/api.service.ts`. That service is the main outbound data-flow boundary from the SPA to the backend. Pages likely call this layer rather than fetching directly, which keeps network concerns separate from rendering logic.

10. The UI is built from a reusable component library under `frontend/src/components/ui`, plus app-specific wrappers such as `ThemeProvider`, `NavLink`, and the layout components. This suggests a design-system approach: pages assemble screens from shared primitives rather than duplicating controls.

11. The domain-specific frontend pages map closely to backend features: invoices and payments have both list/detail and action pages, customers have their own management page, dashboard aggregates business data, and reports/settings provide secondary workflows. That close page-to-feature mapping makes the app’s main diagram easy to draw as a set of domain slices over a shared API and auth layer.

12. Tooling supports both UI and server quality gates. The frontend includes Vitest and Playwright configuration for unit and end-to-end testing, and the backend uses TypeScript + Prisma-oriented setup. From an architecture standpoint, tests sit alongside the app code rather than introducing a separate runtime service.

Main entry points: [`backend/src/app.ts`](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/app.ts) (App config), [`frontend/src/components/layout/AppLayout.tsx`](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/components/layout/AppLayout.tsx) (App layout), [`backend/src/lib/prisma.ts`](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/lib/prisma.ts) (Prisma client), [`frontend/src/App.tsx`](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/App.tsx) (Router shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_backend["Backend API"]
  node_backend_index["Server entry<br/>bootstrap<br/>[index.ts]"]
  node_backend_app["App config<br/>express app<br/>[app.ts]"]
  node_backend_auth_mw["Auth middleware<br/>request guard<br/>[auth.middleware.ts]"]
  node_backend_error_handler["Error handler<br/>middleware<br/>[errorHandler.ts]"]
  node_backend_zod["Zod schemas<br/>validation<br/>[zod-schemas.ts]"]
  node_backend_prisma_client[("Prisma client<br/>db client<br/>[prisma.ts]")]
  node_backend_prisma_schema[("Data model<br/>schema<br/>[schema.prisma]")]
  node_backend_auth["Auth<br/>feature module<br/>[auth.routes.ts]"]
  node_backend_customer["Customers<br/>feature module<br/>[customer.routes.ts]"]
  node_backend_invoice["Invoices<br/>feature module<br/>[invoice.routes.ts]"]
  node_backend_payment["Payments<br/>feature module<br/>[payment.routes.ts]"]
  node_backend_dashboard["Dashboard<br/>feature module"]
  node_backend_profile["Profile<br/>feature module<br/>[profile.routes.ts]"]
  node_backend_settings["Settings<br/>feature module<br/>[settings.routes.ts]"]
  node_backend_health["Health<br/>feature module<br/>[health.routes.ts]"]
end

subgraph group_frontend["Frontend SPA"]
  node_frontend_main["App entry<br/>bootstrap<br/>[main.tsx]"]
  node_frontend_app["Router shell<br/>react app<br/>[App.tsx]"]
  node_frontend_auth_ctx["Auth state<br/>context<br/>[AuthContext.tsx]"]
  node_frontend_protected["Protected route<br/>route guard<br/>[ProtectedRoute.tsx]"]
  node_frontend_layout["App layout<br/>shell<br/>[AppLayout.tsx]"]
  node_frontend_sidebar["Sidebar<br/>navigation<br/>[AppSidebar.tsx]"]
  node_frontend_api["API service<br/>http client<br/>[api.service.ts]"]
  node_frontend_auth_page["Auth page<br/>[Auth.tsx]"]
  node_frontend_dashboard_page["Dashboard page<br/>[Dashboard.tsx]"]
  node_frontend_customers_page["Customers page<br/>[Customers.tsx]"]
  node_frontend_invoices_page["Invoices pages<br/>page set<br/>[Invoices.tsx]"]
  node_frontend_payments_page["Payments page<br/>[Payments.tsx]"]
  node_frontend_settings_page["Settings page<br/>[Settings.tsx]"]
  node_frontend_reports_page["Reports page<br/>[Reports.tsx]"]
end

node_backend_index -->|"bootstraps"| node_backend_app
node_backend_app -->|"uses"| node_backend_auth_mw
node_backend_app -->|"uses"| node_backend_error_handler
node_backend_app -->|"mounts"| node_backend_auth
node_backend_app -->|"mounts"| node_backend_customer
node_backend_app -->|"mounts"| node_backend_invoice
node_backend_app -->|"mounts"| node_backend_payment
node_backend_app -->|"mounts"| node_backend_dashboard
node_backend_app -->|"mounts"| node_backend_profile
node_backend_app -->|"mounts"| node_backend_settings
node_backend_app -->|"mounts"| node_backend_health
node_backend_auth -->|"validates"| node_backend_zod
node_backend_customer -->|"validates"| node_backend_zod
node_backend_invoice -->|"validates"| node_backend_zod
node_backend_payment -->|"validates"| node_backend_zod
node_backend_dashboard -->|"validates"| node_backend_zod
node_backend_profile -->|"validates"| node_backend_zod
node_backend_settings -->|"validates"| node_backend_zod
node_backend_auth -->|"persists via"| node_backend_prisma_client
node_backend_customer -->|"persists via"| node_backend_prisma_client
node_backend_invoice -->|"persists via"| node_backend_prisma_client
node_backend_payment -->|"persists via"| node_backend_prisma_client
node_backend_dashboard -->|"reads via"| node_backend_prisma_client
node_backend_profile -->|"persists via"| node_backend_prisma_client
node_backend_settings -->|"persists via"| node_backend_prisma_client
node_backend_prisma_client -->|"implements"| node_backend_prisma_schema
node_frontend_main -->|"boots"| node_frontend_app
node_frontend_app -->|"uses"| node_frontend_auth_ctx
node_frontend_app -->|"uses"| node_frontend_protected
node_frontend_app -->|"uses"| node_frontend_layout
node_frontend_layout -->|"contains"| node_frontend_sidebar
node_frontend_auth_page -->|"calls"| node_frontend_api
node_frontend_dashboard_page -->|"calls"| node_frontend_api
node_frontend_customers_page -->|"calls"| node_frontend_api
node_frontend_invoices_page -->|"calls"| node_frontend_api
node_frontend_payments_page -->|"calls"| node_frontend_api
node_frontend_settings_page -->|"calls"| node_frontend_api
node_frontend_reports_page -->|"calls"| node_frontend_api
node_frontend_protected -->|"checks"| node_frontend_auth_ctx
node_frontend_layout -->|"hosts"| node_frontend_dashboard_page
node_frontend_layout -->|"hosts"| node_frontend_customers_page
node_frontend_layout -->|"hosts"| node_frontend_invoices_page
node_frontend_layout -->|"hosts"| node_frontend_payments_page
node_frontend_layout -->|"hosts"| node_frontend_settings_page
node_frontend_layout -->|"hosts"| node_frontend_reports_page
node_frontend_app -->|"routes to"| node_frontend_auth_page
node_frontend_app -->|"routes through"| node_frontend_protected

click node_backend_index "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/index.ts"
click node_backend_app "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/app.ts"
click node_backend_auth_mw "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/middlewares/auth.middleware.ts"
click node_backend_error_handler "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/middlewares/errorHandler.ts"
click node_backend_zod "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/shared/zod-schemas.ts"
click node_backend_prisma_client "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/lib/prisma.ts"
click node_backend_prisma_schema "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/prisma/schema.prisma"
click node_backend_auth "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/auth/auth.routes.ts"
click node_backend_customer "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/customer/customer.routes.ts"
click node_backend_invoice "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/invoice/invoice.routes.ts"
click node_backend_payment "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/payment/payment.routes.ts"
click node_backend_dashboard "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/dashboard/dashboard.routes.ts"
click node_backend_profile "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/profile/profile.routes.ts"
click node_backend_settings "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/settings/settings.routes.ts"
click node_backend_health "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/health/health.routes.ts"
click node_frontend_main "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/main.tsx"
click node_frontend_app "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/App.tsx"
click node_frontend_auth_ctx "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/context/AuthContext.tsx"
click node_frontend_protected "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/components/ProtectedRoute.tsx"
click node_frontend_layout "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/components/layout/AppLayout.tsx"
click node_frontend_sidebar "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/components/layout/AppSidebar.tsx"
click node_frontend_api "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/services/api.service.ts"
click node_frontend_auth_page "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Auth.tsx"
click node_frontend_dashboard_page "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Dashboard.tsx"
click node_frontend_customers_page "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Customers.tsx"
click node_frontend_invoices_page "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Invoices.tsx"
click node_frontend_payments_page "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Payments.tsx"
click node_frontend_settings_page "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Settings.tsx"
click node_frontend_reports_page "https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Reports.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_backend_index,node_backend_app,node_backend_auth_mw,node_backend_error_handler,node_backend_zod,node_backend_prisma_client,node_backend_prisma_schema,node_backend_auth,node_backend_customer,node_backend_invoice,node_backend_payment,node_backend_dashboard,node_backend_profile,node_backend_settings,node_backend_health toneBlue
class node_frontend_main,node_frontend_app,node_frontend_auth_ctx,node_frontend_protected,node_frontend_layout,node_frontend_sidebar,node_frontend_api,node_frontend_auth_page,node_frontend_dashboard_page,node_frontend_customers_page,node_frontend_invoices_page,node_frontend_payments_page,node_frontend_settings_page,node_frontend_reports_page toneAmber
```

## Components

### Backend API

TypeScript HTTP API, feature modules, middleware, and persistence boundary.

- [Server entry](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/index.ts): bootstrap · Starts the backend process and hands off to the app setup. · `backend/src/index.ts`
- [App config](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/app.ts): express app · Wires the server, routes, and shared middleware. · `backend/src/app.ts`
- [Auth middleware](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/middlewares/auth.middleware.ts): request guard · Protects private backend endpoints. · `backend/src/middlewares/auth.middleware.ts`
- [Error handler](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/middlewares/errorHandler.ts): middleware · Centralizes API error translation. · `backend/src/middlewares/errorHandler.ts`
- [Zod schemas](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/shared/zod-schemas.ts): validation · Shared request validation shapes used across features. · `backend/src/shared/zod-schemas.ts`
- [Prisma client](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/lib/prisma.ts): db client · Backend database access entry point. · `backend/src/lib/prisma.ts`
- [Data model](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/prisma/schema.prisma): schema · Prisma schema defining persistence structure. · `backend/prisma/schema.prisma`
- [Auth](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/auth/auth.routes.ts): feature module · Login and session boundary for private access. · `backend/src/features/auth/auth.routes.ts`
- [Customers](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/customer/customer.routes.ts): feature module · Customer management APIs. · `backend/src/features/customer/customer.routes.ts`
- [Invoices](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/invoice/invoice.routes.ts): feature module · Invoice creation, lookup, and lifecycle APIs. · `backend/src/features/invoice/invoice.routes.ts`
- [Payments](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/payment/payment.routes.ts): feature module · Payment-related API workflows. · `backend/src/features/payment/payment.routes.ts`
- [Dashboard](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/dashboard/dashboard.routes.ts): feature module · Aggregated business metrics and summaries. · `backend/src/features/dashboard/dashboard.routes.ts`
- [Profile](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/profile/profile.routes.ts): feature module · Current-user profile APIs. · `backend/src/features/profile/profile.routes.ts`
- [Settings](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/settings/settings.routes.ts): feature module · Application settings APIs. · `backend/src/features/settings/settings.routes.ts`
- [Health](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/backend/src/features/health/health.routes.ts): feature module · Service liveness and readiness endpoint. · `backend/src/features/health/health.routes.ts`

### Frontend SPA

React application shell, auth/session state, pages, and shared UI.

- [App entry](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/main.tsx): bootstrap · Bootstraps the React application. · `frontend/src/main.tsx`
- [Router shell](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/App.tsx): react app · Defines top-level routing and layout composition. · `frontend/src/App.tsx`
- [Auth state](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/context/AuthContext.tsx): context · Holds session and auth state for the UI. · `frontend/src/context/AuthContext.tsx`
- [Protected route](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/components/ProtectedRoute.tsx): route guard · Blocks unauthenticated access to private pages. · `frontend/src/components/ProtectedRoute.tsx`
- [App layout](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/components/layout/AppLayout.tsx): shell · Authenticated application frame for private screens. · `frontend/src/components/layout/AppLayout.tsx`
- [Sidebar](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/components/layout/AppSidebar.tsx): navigation · Primary navigation for the authenticated shell. · `frontend/src/components/layout/AppSidebar.tsx`
- [API service](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/services/api.service.ts): http client · Centralized frontend access to the backend API. · `frontend/src/services/api.service.ts`
- [Auth page](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Auth.tsx): page · Public sign-in and access flow. · `frontend/src/pages/Auth.tsx`
- [Dashboard page](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Dashboard.tsx): page · Business overview and metrics screen. · `frontend/src/pages/Dashboard.tsx`
- [Customers page](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Customers.tsx): page · Customer management screen. · `frontend/src/pages/Customers.tsx`
- [Invoices pages](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Invoices.tsx): page set · Invoice list, create, and view workflows. · `frontend/src/pages/Invoices.tsx`
- [Payments page](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Payments.tsx): page · Payment history and payment workflows. · `frontend/src/pages/Payments.tsx`
- [Settings page](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Settings.tsx): page · Settings and secondary account workflows. · `frontend/src/pages/Settings.tsx`
- [Reports page](https://github.com/amanchauhan-dev/invoice-harmony/blob/main/frontend/src/pages/Reports.tsx): page · Reporting and analytics views. · `frontend/src/pages/Reports.tsx`

## Connections

- Server entry → App config: bootstraps · Process entry starts the server configuration.
- App config → Auth middleware: uses · Applies auth protection to private API routes.
- App config → Error handler: uses · Registers centralized error handling.
- App config → Auth: mounts · Wires the auth feature routes into the app.
- App config → Customers: mounts · Wires customer APIs.
- App config → Invoices: mounts · Wires invoice APIs.
- App config → Payments: mounts · Wires payment APIs.
- App config → Dashboard: mounts · Wires dashboard APIs.
- App config → Profile: mounts · Wires profile APIs.
- App config → Settings: mounts · Wires settings APIs.
- App config → Health: mounts · Wires health endpoints.
- Auth → Zod schemas: validates · Uses shared request schemas.
- Customers → Zod schemas: validates · Uses shared request schemas.
- Invoices → Zod schemas: validates · Uses shared request schemas.
- Payments → Zod schemas: validates · Uses shared request schemas.
- Dashboard → Zod schemas: validates · Uses shared request schemas.
- Profile → Zod schemas: validates · Uses shared request schemas.
- Settings → Zod schemas: validates · Uses shared request schemas.
- Auth → Prisma client: persists via · Feature services access the database through Prisma.
- Customers → Prisma client: persists via · Feature services access the database through Prisma.
- Invoices → Prisma client: persists via · Feature services access the database through Prisma.
- Payments → Prisma client: persists via · Feature services access the database through Prisma.
- Dashboard → Prisma client: reads via · Feature services aggregate data from persistence.
- Profile → Prisma client: persists via · Feature services access the database through Prisma.
- Settings → Prisma client: persists via · Feature services access the database through Prisma.
- Prisma client → Data model: implements · Client is generated from the schema model.
- App entry → Router shell: boots · Entry point renders the app shell.
- Router shell → Auth state: uses · Shares authentication state across the UI.
- Router shell → Protected route: uses · Wraps private routes with access control.
- Router shell → App layout: uses · Composes the authenticated shell.
- App layout → Sidebar: contains · Navigation is part of the app shell.
- Auth page → API service: calls · Public auth workflow reaches the backend through the API service.
- Dashboard page → API service: calls · Dashboard data is fetched through the shared API client.
- Customers page → API service: calls · Customer workflows use the shared API client.
- Invoices pages → API service: calls · Invoice workflows use the shared API client.
- Payments page → API service: calls · Payment workflows use the shared API client.
- Settings page → API service: calls · Settings workflows use the shared API client.
- Reports page → API service: calls · Reports and analytics use the shared API client.
- Protected route → Auth state: checks · Route guard reads session state.
- App layout → Dashboard page: hosts · Authenticated shell renders internal pages.
- App layout → Customers page: hosts · Authenticated shell renders internal pages.
- App layout → Invoices pages: hosts · Authenticated shell renders internal pages.
- App layout → Payments page: hosts · Authenticated shell renders internal pages.
- App layout → Settings page: hosts · Authenticated shell renders internal pages.
- App layout → Reports page: hosts · Authenticated shell renders internal pages.
- Router shell → Auth page: routes to · Public route entry.
- Router shell → Protected route: routes through · Private route entry.
