Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 950 Bytes

File metadata and controls

27 lines (18 loc) · 950 Bytes

Shelterflex Frontend

Next.js web app for Shelterflex.

Setup

Package manager: This project uses pnpm. Use pnpm install --frozen-lockfile (not npm install) to match the pnpm-lock.yaml lockfile that CI uses.

pnpm install --frozen-lockfile
pnpm run dev
  • The frontend currently contains both package-lock.json and pnpm-lock.yaml.
  • pnpm-lock.yaml is authoritative for this project; do not use npm install here.

Notes

  • This frontend is currently UI-first and uses mock data under lib/mockData/.
  • Backend integration should be centralized under lib/ (avoid scattering raw fetch calls in components).
  • Form validation/error-handling standards: FORM_VALIDATION_CONVENTION.md.

Design System Showcase

  • Open /design-system in dev to view the component showcase page.
  • It demonstrates responsive breakpoints, theme tokens, and button variants (primary, secondary, outline, ghost).