Next.jsReactStarter

nextjs-template — Next.js Starter Template

By rajput-hemant

A minimal starter template based on the Next.js App Router, integrating TypeScript and Tailwind CSS, with pre-configured ESLint, Prettier, Husky, lint-staged, and commitlint.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

2 previews
Desktop homepage1 / 2
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 2

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Uses Next.js App Router as the application structure foundation

02

TypeScript and Tailwind CSS are ready out of the box

03

Pre-configured ESLint, Prettier, Husky, lint-staged, and commitlint

04

Uses bun as the default package manager, switchable to pnpm, npm, or yarn

05

Provides two degit branch variants: src-dir and trpc

06

Includes npm scripts such as dev, build, lint, type-check, and fmt

Template Details

This is a minimal starter template for Next.js projects, using the App Router to organize pages, written in TypeScript by default, with Tailwind CSS for styling. The repository also pre-configures a code quality and commit convention toolchain: ESLint for code linting, Prettier for formatting, Husky for managing Git hooks, lint-staged for running checks on staged files, and commitlint for enforcing commit message format.

The template uses bun as the default package manager and includes scripts such as dev, build, start, preview, lint, type-check, fmt, fmt:check, and prepare. The README explains that the template can be pulled via create-next-app's -e flag or degit, with degit also offering two branch variants: src-dir and trpc. If switching to pnpm, npm, or yarn, you must first delete bun.lockb and then regenerate the corresponding lock file.

The template itself only provides a basic skeleton and tool configuration; it does not include business integrations such as databases, authentication, or payments. The README mentions that the Kirimase CLI can be used to add packages for ORM, authentication, UI components, payments, and email as needed. After installation, you need to update the project information in package.json, README.md, and LICENSE yourself. The repository is MIT licensed, and third-party assets such as images, fonts, and icons in the demo site require separate verification of their licensing.

Next.jsStarter

Is it right for your project?

Use Cases

  • Quickly set up a new Next.js project with a code convention toolchain
  • Use as a practice or prototype starting point requiring App Router and Tailwind CSS
  • Create a project using the src directory via the degit src-dir branch
  • Create a project skeleton including tRPC via the degit trpc branch

Suitable For

  • Frontend developers familiar with Next.js and TypeScript
  • Projects aiming to unify team ESLint, Prettier, and commit conventions
  • Projects needing minimal dependencies and deciding subsequent integrations themselves
  • Developers using bun or willing to switch package managers

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Create a project with bun create next-app -e or npx create-next-app -e specifying this repository URL

  2. 2

    Alternatively, install degit globally and run degit rajput-hemant/nextjs-template <project-name>

  3. 3

    Before switching package managers, delete bun.lockb, then run the corresponding install command to generate a lock file

  4. 4

    After installation, update the project information in package.json, README.md, and LICENSE according to the checklist

  5. 5

    If ORM, authentication, payment, etc. are needed, run kirimase init to add integrations as required

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope is the code of this version and does not imply that external services or third-party assets are free.

Must comply with when using

  • Permits free use, modification, commercial use, and distribution of this version's code.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • The template uses bun as the default package manager; if switching to pnpm, npm, or yarn, you must first delete the bun.lockb file, then run the corresponding install command to regenerate the lock file.
  • The template itself does not include integrations such as databases, authentication, or payments; if these capabilities are needed, they must be added as required via the external CLI tool Kirimase, which may involve third-party services and accounts.
  • After installation, you need to update the copyright holder name and year in the LICENSE yourself to replace the template's original attribution.
  • Demo images, fonts, icons, and other third-party assets must be verified under their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

This template uses [bun](https://bun.sh/docs/cli/install) as the default package manager. If you want to use `pnpm`, `npm` or `yarn`, you need to remove the `bun.lockb` file and run `pnpm i`, `npm i` or `yarn` to generate the lock file for the respective package manager.

Original README

[Kirimase](https://kirimase.dev) is a Next.js CLI tool that accelerates full-stack app development. It seamlessly integrates packages like ORM (Prisma or Drizzle), authentication (Auth.js, Clerk, Lucia, Kinde), UI components (Shadcn-UI), payments (Stripe), and email (Resend), following best practices.

Original README

- [ ] Update `LICENSE` with your name and year.

Original README
https://github.com/rajput-hemant/nextjs-template/blob/master/LICENSEhttps://github.com/rajput-hemant/nextjs-template/blob/master/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 87 / 100
Technologies
Next.js · React
Website type
Starter
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2026-10-02
Screenshot last checked
2026-10-02

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Next.js as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: 5677f1fd8ffffa0afafe723fe465fab94746979714b67a7958ceef8166262dfe

2026-10-02T20:43:28.132Z

Source file / repository
<div align=center>

[![ntl-badge]][ntl-link] ![views] ![stars] ![forks] ![issues] ![license] ![repo-size]

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="public/nextjs-light.svg">
  <source media="(prefers-color-scheme: light)" srcset="public/nextjs-dark.svg">
  <img alt="Next.js">
</picture>

# Next.js Starter Template

### A Minimal Next.js Starter Template with TypeScript, Tailwind CSS, and pre-configured with ESLint, Prettier, and Husky.

</div>

## Features

- ⚡ **[Next.js](https://nextjs.org/)** - A React Framework for Production
- 🔥 **[App Router](https://nextjs.org/docs/app)** - It is a new paradigm for building applications using React's latest features.
- 🎨 **[Tailwind CSS](https://tailwindcss.com/)** - A Utility-First CSS Framework for Rapid UI Development
- 📦 **[TypeScript](https://www.typescriptlang.org/)** - A typed superset of JavaScript that compiles to plain JavaScript
- 📝 **[ESLint](https://eslint.org/)** - The pluggable linting utility for JavaScript and JSX
- 🛠 **[Prettier](https://prettier.io/)** - An opinionated code formatter
- 🐶 **[Husky](https://typicode.github.io/husky/#/)** - A tool that makes Git hooks easy
- 🚫 **[lint-staged](https://github.com/okonet/lint-staged)** - Run linters against staged git files
- 📄 **[commitlint](https://commitlint.js.org/#/)** - Lint commit messages
- 📦 **[bun](https://bun.sh)** - A JavaScript runtime w/ Fast, disk space efficient package manager

## Getting Started

```bash
bun create next-app -e "https://github.com/rajput-hemant/nextjs-template" <project-name>

npx create-next-app -e "https://github.com/rajput-hemant/nextjs-template" <project-name>
```

<p align="center" style="font-weight: bold;">OR</p>

**Install `degit` globally**

```bash
bun i -g degit || pnpm i -g degit || yarn global add degit || npm i -g degit
```

**Create a new project from this template**

```bash
degit rajput-hemant/nextjs-template <project-name>
# src directory
degit rajput-hemant/nextjs-template#src-dir <project-name>
# tRPC
degit rajput-hemant/nextjs-template#trpc <project-name>

cd <project-name>
```

**Install dependencies**

```bash
bun i || pnpm i || yarn || npm i
```

**Initialize a new git repository _(Optional)_:**

```bash
git init
git add .
git commit --no-verify -m "init"
```

## Integrations

[Kirimase](https://kirimase.dev) is a Next.js CLI tool that accelerates full-stack app development. It seamlessly integrates packages like ORM (Prisma or Drizzle), authentication (Auth.js, Clerk, Lucia, Kinde), UI components (Shadcn-UI), payments (Stripe), and email (Resend), following best practices.

To add integrations to your project, run:

```bash
kirimase init
```

## Available Scripts

In the project directory, you can run:

| **Script**   | **Description**                                      |
| ------------ | ---------------------------------------------------- |
| `dev`        | Runs the app in the development mode.                |
| `build`      | Builds the app for production to the `.next` folder. |
| `start`      | Runs the built app in the production mode.           |
| `preview`    | Builds and serves the app in the production mode.    |
| `lint`       | Runs next lint on the project.                       |
| `type-check` | Runs TypeScript type checker.                        |
| `fmt`        | Formats the code with Prettier.                      |
| `fmt:check`  | Checks if the code is formatted with Prettier.       |
| `prepare`    | Installs husky git hooks.                            |

## After Installation Checklist

- [ ] Update `package.json` with your project details.
- [ ] Update `README.md` with your project details.
- [ ] Update `LICENSE` with your name and year.

## Switching Package Manager

This template uses [bun](https://bun.sh/docs/cli/install) as the default package manager. If you want to use `pnpm`, `npm` or `yarn`, you need to remove the `bun.lockb` file and run `pnpm i`, `npm i` or `yarn` to generate the lock file for the respective package manager.

## Deployments

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/rajput-hemant/nextjs-template)
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/rajput-hemant/nextjs-template)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Contributors:

<div align=center>

[![][contributors]][contributors-graph]

_Note: It may take up to 24h for the [contrib.rocks][contrib-rocks] plugin to update because it's refreshed once a day._

</div>

<!----------------------------------{ Labels }--------------------------------->

[views]: https://komarev.com/ghpvc/?username=nextjs-template&label=view%20counter&color=red&style=flat
[repo-size]: https://img.shields.io/github/repo-size/rajput-hemant/nextjs-template
[issues]: https://img.shields.io/github/issues-raw/rajput-hemant/nextjs-template
[license]: https://img.shields.io/github/license/rajput-hemant/nextjs-template
[forks]: https://img.shields.io/github/forks/rajput-hemant/nextjs-template?style=flat
[stars]: https://img.shields.io/github/stars/rajput-hemant/nextjs-template
[contributors]: https://contrib.rocks/image?repo=rajput-hemant/nextjs-template&max=500
[contributors-graph]: https://github.com/rajput-hemant/nextjs-template/graphs/contributors
[contrib-rocks]: https://contrib.rocks/preview?repo=rajput-hemant%2Fnextjs-template
[ntl-badge]: https://api.netlify.com/api/v1/badges/6955f80c-0747-4947-a344-e7c647012cbe/deploy-status
[ntl-link]: https://app.netlify.com/sites/react-template-vite/deploys
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.