Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Next.js 13, Tailwind CSS, and TypeScript starter with ESLint, Prettier, Husky, Jest, Release Please, and GitHub Actions preconfigured.
nextjs-13-boilerplate is a public GitHub starter template by Sakil Khan that scaffolds a Next.js 13, React 18, and TypeScript project with Tailwind CSS and a curated set of developer-experience tooling, so you can start a new app without configuring linting, formatting, testing, or commit hooks yourself.
nextjs-13-boilerplate is a boilerplate/starter repository for building web applications with Next.js 13, styled by Tailwind CSS and typed with TypeScript. It takes a fresh project scaffold as input and produces a development environment with ESLint (including auto-sort for imports), Prettier, Jest for unit tests, Husky with Lint Staged, Conventional Commit Lint, Release Please for changelogs, and a GitHub Actions workflow for linting. The project is created by Sakil Khan and hosted on GitHub at sakilk130/nextjs-13-boilerplate.
src/app directory structure; the home page is edited at src/app/page.tsx.@/ prefix.release-please workflow.npm run dev to start editing at src/app/page.tsx.release-please GitHub Action to automatically generate a changelog for releases.To use the template, clone the repository, install dependencies (yarn is encouraged so Husky hooks work properly), and run npm run dev to start the local server at localhost:3000. Then search for comments marked !STARTERCONF to update site title, URLs, favicons, and other defaults, and change the package name in package.json. Commits must follow the conventional commit standard.
!STARTERCONF comment mean?It is a marker in the code that identifies the places you need to change when customizing the starter, such as title, URLs, favicons, and the package name. Follow the guide at each comment.
Yes, Jest is configured for unit testing. The repository description additionally names Testing Library and Cypress, though the README feature list highlights Jest.
The README says yarn is encouraged so the Husky hooks can work properly, though the installation and development commands shown are npm commands.
Activate the included release-please GitHub Actions workflow, which will generate a changelog for you.
