Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.appliedaifoundation.org/llms.txt

Use this file to discover all available pages before exploring further.

Everything in package.json, grouped by what it does.

Framework & runtime

PackageVersionRole
next16.1.1App Router framework
react / react-dom19.2.3UI
typescript5.9.3Type safety

Database

PackageVersionRole
pg8.20.0Postgres driver
@google-cloud/cloud-sql-connector1.9.1Secure auth to Cloud SQL
@types/pg8.18.0Type definitions

State & data

PackageVersionRole
@tanstack/react-query5.90.14Client cache (5-min stale)
xlsx0.18.5Excel parsing

UI primitives

PackageVersionRole
@radix-ui/react-select2.2.6Dropdowns
@radix-ui/react-tabs1.1.13Tabbed pages (methodology)
@radix-ui/react-separator1.1.8Dividers
@radix-ui/react-slot1.2.4Composition
lucide-react0.562.0Icons

Charts & maps

PackageVersionRole
recharts3.6.0CII gauge, distribution, rolling charts, daily timelines
leaflet + react-leaflet1.9.4 / 5.0.0Voyage map (fallback)
maplibre-gl + react-map-gl4.7.1 / 7.1.7Voyage map (primary)

Styling

PackageVersionRole
tailwindcss4Utility classes
@tailwindcss/postcss4Build integration
tw-animate-css1.4.0Animation utilities
class-variance-authority0.7.1Component variants
clsx / tailwind-merge2.1.1 / 3.4.0Class composition

PDF generation

PackageVersionRole
jspdf4.1.0PDF rendering for reports
jspdf-autotable5.0.7Tabular data in PDFs

Tooling

PackageVersionRole
eslint + eslint-config-next9 / 16.1.1Linting (flat config)
@typescript-eslint/*8.51.0TypeScript linting

Notable absences

  • No test framework. No Jest, Vitest, or Playwright in the repo. Type checking and linting catch most issues.
  • No state library. No Redux, Zustand, etc. React Query handles all server state; React Context handles year + vessel selection.
  • No CSS-in-JS. Pure Tailwind.
  • No ORM. Plain pg queries via helper functions in src/lib/db/postgres.ts.