Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Minimal Next.js Starter Template with TypeScript, Tailwind CSS, and pre-configured with ESLint, Prettier, and Husky.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
Next.js Starter Template is a GitHub-hosted boilerplate that scaffolds a production-ready Next.js project pre-configured with TypeScript, Tailwind CSS, ESLint, Prettier, Husky, lint-staged, and commitlint. It runs on the Next.js App Router, uses bun as the default package manager, and offers multiple ways to generate a new project, including create-next-app and degit.
Next.js Starter Template is a minimal Next.js starter created by rajput-hemant and published on GitHub under the MIT License. It serves as a ready-made foundation for a web application, taking a project name as input and outputting a complete repository with Next.js App Router, TypeScript configuration, Tailwind CSS utility classes, and a preconfigured tooling chain for linting, formatting, and Git hooks. The template targets developers who want to skip repetitive setup and start building immediately.
Developers who want a modern Next.js project without manually configuring TypeScript, Tailwind, and ESLint will find this template saves them the setup time. Freelancers and agencies can use it as a consistent starting point for client projects, while teams moving to the App Router can standardize on one baseline. Developers experimenting with bun as a package manager get a preconfigured bun workflow, and full-stack developers can extend the base with Kirimase instead of wiring up ORMs and auth manually.
To create a project, run bun create next-app -e "https://github.com/rajput-hemant/nextjs-template" your-project-name, or use npx create-next-app with the same repository URL. Alternatively, install degit globally and run degit rajput-hemant/nextjs-template your-project-name, with optional branch suffixes like #src-dir or #trpc. After scaffolding, install dependencies with bun i, pnpm i, yarn, or npm i, then use the included scripts for development, building, linting, type-checking, and formatting.
Yes, the template is open source and released under the MIT License, which means you can use it for personal and commercial projects. You can freely modify and redistribute it as long as you include the original license notice.
Remove the bun.lockb file from the project root, then run pnpm i, npm i, or yarn to generate the corresponding lockfile. The template's package.json scripts work across all package managers, so development, building, and linting commands remain the same.
The default branch is a plain Next.js starter; the src-dir branch places application files under a src/ directory, and the tRPC branch adds tRPC for end-to-end typesafe APIs. You access them with degit by appending a branch name to the repository URL.
No, the base template does not include these. It is intentionally minimal, but you can add them by running kirimase init, which supports Prisma, Drizzle, Auth.js, Clerk, Lucia, Kinde, Shadcn-UI, Stripe, and Resend.
Yes, the repository works as a create-next-app template. Run npx create-next-app -e "https://github.com/rajput-hemant/nextjs-template" your-project-name to scaffold a project with the exact same configuration.
