Next.js web app for Shelterflex.
Package manager: This project uses pnpm. Use
pnpm install --frozen-lockfile(notnpm install) to match thepnpm-lock.yamllockfile that CI uses.
pnpm install --frozen-lockfile
pnpm run dev- The frontend currently contains both
package-lock.jsonandpnpm-lock.yaml. pnpm-lock.yamlis authoritative for this project; do not usenpm installhere.
- This frontend is currently UI-first and uses mock data under
lib/mockData/. - Backend integration should be centralized under
lib/(avoid scattering rawfetchcalls in components). - Form validation/error-handling standards:
FORM_VALIDATION_CONVENTION.md.
- Open
/design-systemin dev to view the component showcase page. - It demonstrates responsive breakpoints, theme tokens, and button variants (
primary,secondary,outline,ghost).