Developer toolsVerified Nov 5, 2026
Typed Next.js app with tests
A Next.js App Router app with Tailwind styling, Zod-validated inputs and Vitest unit tests.
by Promptu
What you end up with
A working Next.js app where every input is validated with Zod and core logic has Vitest tests. The two prompts draft the Zod schemas from sample JSON and the first unit tests.
Build order
- 1
- 2TechnologyStylingTailwind CSS
Utility-first CSS framework. Style directly in markup and ship only the classes you use.
- 3TechnologyValidationZod
TypeScript-first schema validation with static type inference. Validate API input once and get types for free.
npm install zod
- 4PromptDraft the schemasZod schema from a JSON example
- 5TechnologyTestingVitest
Fast, Vite-native unit test framework with a Jest-compatible API.
npm install -D vitest
- 6PromptDraft the first testsUnit tests for a pure function (no mocks)
Review commands before running them. Promptu never runs code on your machine.

