afiiif / nextjs-starter-template

Next.js+Tailwind+Zustand starter πŸš€ with ESLint, Prettier, commitlint, lint-staged, & GitHub Action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js [TypeScript] + Tailwind CSS Starter Template

Features

This starter template contains:

  • ⚑️ Next.js (v13.3) with /app directory
  • βš›οΈ React (v18.2)
  • 🎐 Tailwind CSS (v3.3)
  • 🐻 Zustand (v4.3)
  • πŸͺ„ Prettier β€” Format your code automatically, this will also run on save
  • 🧼 ESLint β€” Find & fix problems in your code, and auto sort your imports
  • πŸ”— Absolute Import β€” Import modules using @/ prefix
  • 🐢 Husky with...
    • πŸ“œ Commit Lint β€” Make sure the commit message follows the conventional commit
    • πŸ•΅οΈ Lint Staged β€” Check & fix code when commit, block commit if bad code detected
  • βš™οΈ Github Actions β€” Check your code on push & pull-request
  • πŸ€– Dependabot β€” Create pull-request to update your dependencies

Getting Started

  1. Clone this repo.
    πŸ’‘ You can use degit:
    npx degit afiiif/nextjs-starter-template YOUR_APP_NAME
  2. Install dependencies: yarn install
  3. Run the development server: yarn dev
  4. Open http://localhost:3000 with your browser to see the result.

Learn More

About

Next.js+Tailwind+Zustand starter πŸš€ with ESLint, Prettier, commitlint, lint-staged, & GitHub Action


Languages

Language:JavaScript 80.6%Language:TypeScript 11.7%Language:Shell 4.1%Language:CSS 3.6%