More Premium Hugo Themes Premium Nextjs Themes

Nextjs Boilerplate

Next.js 15+ boilerplate with typescript, husky, lint-staged, eslint, prettier, jest, react-testing-library, storybook, ghaction and plop.

Nextjs Boilerplate

Next.js 15+ boilerplate with typescript, husky, lint-staged, eslint, prettier, jest, react-testing-library, storybook, ghaction and plop.

Author Avatar Theme by hadrysm
Github Stars Github Stars: 218
Last Commit Last Commit: Feb 11, 2025 -
First Commit Created: Apr 29, 2023 -
default image

Overview:

The Boilerplate and Starter for Next JS 13+, Tailwind CSS 3, and TypeScript is a developer-friendly template designed to provide a smooth and efficient starting point for Next.js projects. It incorporates essential tools and features to enhance the development experience, including Next.js for static site generation, TypeScript for type checking, Tailwind CSS for styling, and various other libraries and frameworks for code quality, testing, and productivity.

Features:

  • Developer experience first: Prioritizes a seamless and efficient development experience.
  • Next.js for Static Site Generator: Utilizes Next.js for efficient static site generation.
  • Type checking with TypeScript: Ensures type safety and reduces bugs during development.
  • Integration with Tailwind CSS: Integrates Tailwind CSS for easy and flexible styling.
  • Storybook for components documentation: Utilizes Storybook for comprehensive and interactive documentation of components.
  • Strict Mode for TypeScript and React 18: Enforces strict mode for improved code quality.
  • Linter with ESLint: Includes ESLint for detecting and fixing code issues and enforcing code quality standards.
  • Code Formatter with Prettier: Incorporates Prettier for consistent code formatting.
  • Husky for Git Hooks: Utilizes Husky for running pre-commit and pre-push hooks.
  • Lint-staged for running linters on Git staged files: Configures lint-staged to run linters on Git staged files for better code quality control.
  • Testing with Jest and react-testing-library: Provides testing capabilities with Jest and react-testing-library.
  • Absolute Imports using @ prefix: Enables convenient absolute imports using the @ prefix.
  • Next.js custom layouts: Supports custom layouts for Next.js applications.
  • T3 env: Provides easy management of environment variables.
  • Message convention for git: Establishes a message convention for better git commit history.
  • Maximize lighthouse score: Optimizes the application to achieve a high Lighthouse score.
  • GH actions: Enables integration with GitHub Actions for continuous integration and deployment.
  • Components generation with Plop and atomic design convention: Supports component generation using Plop and follows the atomic design convention.

Installation:

To use this template, you can either click “Use this template” or create your Next.js app based on this template by running the following command:

npx create-next-app my-app -e https://github.com/mat3e/nextjs-tailwindcss-typescript-boilerplate

Summary:

The Boilerplate and Starter for Next JS 13+, Tailwind CSS 3, and TypeScript offers a comprehensive and well-rounded starting point for Next.js projects. It focuses on providing a smooth developer experience and incorporates various tools and features to enhance productivity, code quality, and testing. With its integration of Next.js, TypeScript, Tailwind CSS, and other libraries, this boilerplate aims to streamline the development process and enable developers to quickly build high-quality Next.js applications.