An opinionated Next.js starter (App Router) using TypeScript, styled-components, Zod, and Tanstack Query.
- Next.js (App Router)
- TypeScript
- styled-components with SSR registry
- Tanstack Query (
@tanstack/react-query) - Schema validation with Zod (
zod) - Biome for linting/formatting and Vitest for tests
- Node.js >= 18
Install dependencies and start the dev server:
npm install
npm run devThe project defines several npm scripts in package.json:
dev- start Next.js in development modebuild- build the Next.js appstart/preview- start the production servertest- run unit tests (Vitest)typecheck- runtsc --noEmitlint- run Biome checksformat- format files with Biomecheck- run lint and typecheck (useful for CI)
Run the combined check:
npm run checkThis project is licensed under the MIT License — see the LICENSE file for details.