Prompt file imported from bardeik/leder-helse (
.github/prompts/00-bootstrap.prompt.md). Copyright stays with the author.
Bootstrap the project (Next.js + TS + PWA + Dexie)
You are an expert full-stack engineer. Create the initial app scaffold and repo structure.
Requirements
- Next.js (App Router) + TypeScript strict
- Add Dexie + Zod
- Add Vitest
- Add basic pages: Dashboard, Log Today, Settings
- Add minimal navigation and responsive layout
- Add scripts: dev, build, test
- Keep UI minimal and readable
Steps
- Create the project scaffolding (if not already) and commit the baseline.
- Create
/src/domain,/src/data,/src/features,/src/components. - Add minimal README with run instructions.
- Ensure tests run.
Deliverables
- Working app that runs locally
- Passing unit test placeholder