Next.js + Tailwind CSS + TypeScript packed with useful development features.
This repository is 🔋 battery packed with:
- ⚛️ React 18
- ⚡️ Next.js 13
- ✨ TypeScript
- 💨 Tailwind CSS 3
- 🃏 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 on PR
- 🚘 Automatic Branch and Issue Autolink — Branch will be automatically created on issue assign, and auto linked on PR
- 🔥 Snippets — A collection of useful snippets
- 👀 Default Open Graph
- 🗺 Site Map — Automatically generate sitemap.xml
- 📦 Expansion Pack
It is encouraged to use yarn so the husky hooks can work properly.
yarn install
You can start the server using this command:
yarn dev
Open http://localhost:3000 with your browser to see the result.
This starter is using conventional commits, it is mandatory to use it to commit changes.