KnearMe Portfolio Local Development
Prerequisites
Section titled “Prerequisites”- Node.js
22.21.1(fromengines.node). pnpmworkspace install completed at repo root.- Supabase project credentials for local
.env.local.
cd /Users/aaronbaker/knearme-platformpnpm installCreate apps/knearme-portfolio/.env.local with required values (see environment doc).
Start the app
Section titled “Start the app”pnpm -C apps/knearme-portfolio devDefault local URL: http://localhost:3000.
Common developer loops
Section titled “Common developer loops”- Type and lint before committing:
pnpm -C apps/knearme-portfolio typecheckpnpm -C apps/knearme-portfolio lint- Run focused unit tests:
pnpm -C apps/knearme-portfolio test:unit- Run mocked E2E suite:
pnpm -C apps/knearme-portfolio test:e2e:mockLocal dependencies and coupling
Section titled “Local dependencies and coupling”- The app builds an MCP widget bundle during
buildusingbuild:widget. - Local dev typically does not require
apps/knearme-edge, but production path protections rely on edge routes. - If testing worker-protected behavior, run edge worker separately.