An open source boilerplate built using Next.js 14, TypeScript, and Tailwind CSS
With this template, you get all the awesomeness you need:
- Advanced Folder Structures
- Next.js with App Router support
- Type checking TypeScript
- Styled using Tailwind CSS
- State management with Zustand
- Authentication with NextAuth.js
- UI Components built with shadcn/ui
- Data Fetching, Caching and Mutation with TanStack Query
- Linter with ESLint
- Code Formatter with Prettier
- Form handling with React Hook Form
- Validation library with Zod
- Storybook for UI development
- Beautiful and consistent icons from Lucide
- Loading UI using Skeleton Components
- Dark theme with next-themes
- Absolute Imports with
@
prefix - Husky for Git Hooks
- Sitemap.xml and robots.txt with next-sitemap
- Metadata files optimized for SEO
- Storage helpers for Local, Session, Cookies
- ๐ฏ Maximize lighthouse score
โ
โโโ public # Public assets folder
โโโ src
โ โโโ app # Next JS App (App Router)
โ โโโ components # React components
โ โ โโโ features # Containing logic operations
โ โ โโโ shared # Header, footer, aside components
โ โ โโโ skeletons # Loading components
โ โ โโโ ui # Atomic components
โ โ โโโ widgets # Advanced components
โ โโโ data # Static or mock data
โ โโโ helpers # Helper functions
โ โโโ hooks # React hooks
โ โโโ providers # All providers
โ โโโ services # API services
โ โโโ stores # Zustand stores
โ โโโ types # Type definitions
โ โโโ utils # Utilities folder
โโโ .eslintrc.json # ESLint configuration
โโโ .prettierrc # Prettier configuration
โโโ components.json # shadcn/ui configuration
โโโ next-sitemap.config.js # next-sitemap configuration
โโโ next.config.mjs # Next.js configuration
โโโ postcss.config.js # PostCSS configuration
โโโ README.md # README file
โโโ tailwind.config.js # Tailwind CSS configuration
โโโ tsconfig.json # TypeScript configuration