Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NextStarter

A modern Next.js boilerplate to ship production-ready projects fast — with TypeScript, Tailwind CSS v4, accessibility, testing, and developer tooling pre-configured.

ESLint Playwright Tests

Live Demo

Tech Stack

Layer Technology
Framework Next.js 16 (App Router)
Language TypeScript (strict mode)
Styling Tailwind CSS v4
Components ShadCN/UI + Radix UI
Icons Lucide React + React Icons
Theming next-themes
Testing Playwright + Axe-core
Runtime Node.js 22

Features

Developer Experience

  • Turbopack — faster local development builds
  • ESLint with import sorting, key sorting, arrow functions, template literals, and TypeScript rules
  • Prettier with automatic Tailwind class sorting
  • VS Code settings and recommended extensions pre-configured
  • TypeScript strict mode with @/* path alias
  • Node version file for nvm, fnm, and other version managers

Styling & Theming

  • Tailwind CSS v4 with a custom stone/orange design theme
  • Light and dark modes — system preference by default, user-toggleable
  • ShadCN/UI component library (Button, Tooltip)
  • Radix UI primitives for accessible, headless components
  • Mobile-first responsive design with Tailwind breakpoints

Accessibility

  • Axe-core automated accessibility scanning in Playwright tests
  • Skip-to-content navigation link for keyboard users
  • Semantic HTML landmarks (<header>, <nav>, <main>, <footer>)
  • ARIA labels, aria-expanded, aria-current on interactive elements
  • WCAG 2.1 AA verified in both light and dark modes

SEO & Metadata

  • Auto-generated robots.txt and sitemap.xml via TypeScript
  • Configurable <title> template (%s | NextStarter)
  • Open Graph and Twitter card metadata support
  • Canonical URL configuration

Testing & CI/CD

  • Playwright end-to-end tests across Chromium, Firefox, and WebKit
  • Axe-core accessibility scans run on every test run
  • GitHub Actions workflows for ESLint and Playwright on push and pull request
  • HTML test reports

Performance

  • Server components by default — minimal client-side JavaScript
  • next/image for optimized images
  • Static generation for sitemap and robots metadata
  • Custom 404 page

Getting Started

Requirements: Node.js 22+ (see .node-version)

npx @bill742/create-nextstarter my-project
cd my-project
npm run dev
Variable Description
NEXT_PUBLIC_SITE_URL Full URL of your site (e.g. https://example.com/)
NEXT_PUBLIC_SITE_NAME Name displayed in the header and footer

Scripts

Command Description
npm run dev Start development server with Turbopack
npm run build Build for production
npm run start Serve the production build
npm run lint Run ESLint
npm run test Run Playwright end-to-end tests

About

A modern Next.js boilerplate for building production-ready web applications.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages