개발자 도구2026년 11월 5일 확인됨
Typed Next.js app with tests
A Next.js App Router app with Tailwind styling, Zod-validated inputs and Vitest unit tests.
Promptu 님
완성되는 결과
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.
구성 순서
- 1
- 2기술StylingTailwind CSS
Utility-first CSS framework. Style directly in markup and ship only the classes you use.
- 3기술ValidationZod
TypeScript-first schema validation with static type inference. Validate API input once and get types for free.
npm install zod
- 4프롬프트Draft the schemasZod schema from a JSON example
- 5기술TestingVitest
Fast, Vite-native unit test framework with a Jest-compatible API.
npm install -D vitest
- 6프롬프트Draft the first testsUnit tests for a pure function (no mocks)
명령어는 실행하기 전에 꼭 확인하세요. Promptu는 사용자의 컴퓨터에서 코드를 실행하지 않아요.

