Local Development
Use these steps to run howden-client locally.
Prerequisites
- Node.js v20.x
- pnpm 9.x
- A running local
be-howdenAPI
Setup
-
Start the backend first.
Follow
be-howden/docs/LOCAL_DEVELOPMENT.mdand make sure the API is available at:http://localhost:8000 -
Go to the client directory.
cd howden-client -
Install dependencies.
pnpm install -
Create or update the local
.envfile in thehowden-clientroot.For local development, point the client to the local backend:
NODE_ENV=development NEXT_PUBLIC_API_ENDPOINT=http://localhost:8000 NEXT_PUBLIC_RECAPTCHA_SITE_KEY=your-local-site-key NEXT_PUBLIC_RECAPTCHA_SECRET_KEY=your-local-secret-key NEXTAUTH_SECRET=your-local-nextauth-secretKeep any existing valid local values for reCAPTCHA and authentication secrets.
-
Start the Next.js development server.
pnpm dev -
Open the client in your browser.
http://localhost:3000
Useful Commands
pnpm dev
pnpm build
pnpm lint
pnpm type-check
pnpm testStop Local Development
Stop the client process with Ctrl+C.
Last updated on