Skip to content

πŸš€πŸš€πŸš€ Boilerplate and Starter for Next.js 13+, Tailwind CSS & TypeScript Made with developer experience first: Next.js + TypeScript + ESLint + Prettier + Husky + Lint-Staged + Jest + Testing Library + Cypress + Commitlint + VSCode + PostCSS + Tailwind CSS

License

sakilk130/nextjs-13-boilerplate

Repository files navigation

Boilerplate and Starter for Next JS 13+, Tailwind CSS and TypeScript

πŸš€πŸš€ nextjs-13-boilerplate

Next.js + Tailwind CSS + TypeScript starter packed with useful development features.

Made by Sakil Khan

GitHub Repo stars

Features

This repository is πŸ”‹ battery packed with:

  • ⚑️ Next.js 13
  • βš›οΈ React 18
  • ✨ TypeScript
  • πŸ’¨ Tailwind CSS
  • πŸƒ Jest β€” Configured for unit testing
  • πŸ“ˆ Absolute Import and Path Alias β€” Import components using @/ prefix
  • πŸ“ ESLint β€” Find and fix problems in your code, also will auto sort your imports
  • πŸ’– Prettier β€” Format your code consistently
  • 🐢 Husky & Lint Staged β€” Run scripts on your staged files before they are committed
  • πŸ€– Conventional Commit Lint β€” Make sure you & your teammates follow conventional commit
  • ⏰ Release Please β€” Generate your changelog by activating the release-please workflow
  • πŸ‘· Github Actions β€” Lint your code
  • πŸ”₯ Snippets β€” A collection of useful snippets
  • πŸ“¦ Expansion Pack β€” Easily install common libraries, additional components, and configs

Getting Started

1. Clone this template

git clone https://github.com/sakilk130/nextjs-13-boilerplate.git

2. Install dependencies

It is encouraged to use yarn so the husky hooks can work properly.

npm install

3. Run the development server

You can start the server using this command:

npm run dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/app/page.tsx.

4. Change defaults

There are some things you need to change including title, urls, favicons, etc.

Find all comments with !STARTERCONF, then follow the guide.

Don't forget to change the package name in package.json

5. Commit Message Convention

This starter is using conventional commits, it is mandatory to use it to commit changes.

Are you using this starter? Please add your page (and repo) to the end of the list via a Pull Request. πŸ˜ƒ

About

πŸš€πŸš€πŸš€ Boilerplate and Starter for Next.js 13+, Tailwind CSS & TypeScript Made with developer experience first: Next.js + TypeScript + ESLint + Prettier + Husky + Lint-Staged + Jest + Testing Library + Cypress + Commitlint + VSCode + PostCSS + Tailwind CSS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published