Next.js Template - NextStarter

Kickstart your Next.js projects with this template featuring authentication using NextAuth v5, Tailwind CSS for styling, and the latest Next.js 14. It comes pre-configured with ESLint, Prettier, Commitlint and Husky for a solid development setup. Perfect for modern, secure web applications.
[!WARNING]
This app is a work in progress
Features
- ๐ Next.js with App Router
- โ
Type checking TypeScript
- ๐จ Integrate with Tailwind CSS
- ๐ Authentication with NextAuth v5 Auth.js: Sign up, Sign in, Sign out, Forgot password, Reset password, and more.
- ๐ Social Auth (Google & GitHub)
- ๐ผ Type-safe ORM with PrismaORM and PostgreSQL
- ๐ Form with React Hook From
- ๐ Validation library with Zod
- ๐งน Linter with ESLint
- ๐๏ธ Code Formatter with Prettier
- ๐ถ Husky for Git Hooks
- ๐ฏ Lint-staged for running linters on Git staged files
- ๐ Lint git commit with Commitlint
- ๐ Run tests on pull request with GitHub Actions
- ๐ Absolute Imports using
@
prefix
- ๐ SEO metadata, Sitemap.xml and robots.txt with next-sitemap
- ๐ Maximize lighthouse score\
- ๐๏ธ Sonner for toasts
- ๐ค Uploadthing for file uploads
- ๐จ Lucide-react for icons
- ๐ Next-themes for dark and light mode
- ๐ Next-js-toploader for smooth page transitions
- ๐ง Resend for sending email
- ๐ Multi-language (i18n) with next-intl (Unstable)
Features to be implemented (Soon):
Getting Started
- Clone the repository:
pnpm create next-app --example "https://github.com/diwashbhattarai999/NextStarter"
- Install dependencies using pnpm:
pnpm install
- Copy
.env.example
to .env.local
or .env
and update the variables.
cp .env.example .env
- Start the development server:
pnpm dev
- Open http://localhost:3000 in your browser
License
This project is licensed under the MIT License - see the LICENSE file for details.