https://github.com/diwashbhattarai999/nextstarter
๐ Next.js Template: A streamlined template for Next.js projects
https://github.com/diwashbhattarai999/nextstarter
commitlint eslint github-actions husky lint-staged next-theme nextjs postgresql prettier prisma tailwind typescript
Last synced: 3 months ago
JSON representation
๐ Next.js Template: A streamlined template for Next.js projects
- Host: GitHub
- URL: https://github.com/diwashbhattarai999/nextstarter
- Owner: diwashbhattarai999
- License: mit
- Created: 2024-05-04T06:39:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-12T09:14:20.000Z (about 1 year ago)
- Last Synced: 2024-05-12T11:41:45.141Z (about 1 year ago)
- Topics: commitlint, eslint, github-actions, husky, lint-staged, next-theme, nextjs, postgresql, prettier, prisma, tailwind, typescript
- Language: TypeScript
- Homepage: https://db-next-starter.vercel.app
- Size: 340 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://nextjs.org) with App Router
- โ Type checking [TypeScript](https://www.typescriptlang.org)
- ๐จ Integrate with [Tailwind CSS](https://tailwindcss.com)
- ๐ Authentication with NextAuth v5 [Auth.js](https://authjs.dev/getting-started/installation?framework=next.js): Sign up, Sign in, Sign out, Forgot password, Reset password, and more.
- ๐ Social Auth (Google & GitHub)
- ๐ผ Type-safe ORM with [PrismaORM](https://www.prisma.io/) and [PostgreSQL](https://www.postgresql.org/)
- ๐ Form with [React Hook From](https://react-hook-form.com/get-started)
- ๐ Validation library with [Zod](https://zod.dev/)
- ๐งน Linter with [ESLint](https://eslint.org)
- ๐๏ธ Code Formatter with [Prettier](https://prettier.io)
- ๐ถ 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](https://next-intl-docs.vercel.app/) (Unstable)## Features to be implemented (Soon):
- [ ] Payment Integration with esewa, khalti, stripe (anyone or maybe all)
- [ ] Framer motion or gsap for animation
- [ ] Analytics## Getting Started
1. Clone the repository:
```sh
pnpm create next-app --example "https://github.com/diwashbhattarai999/NextStarter"
```2. Install dependencies using pnpm:
```sh
pnpm install
```3. Copy `.env.example` to `.env.local` or `.env` and update the variables.
```sh
cp .env.example .env
```4. Start the development server:
```sh
pnpm dev
```5. Open [http://localhost:3000](http://localhost:3000) in your browser
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.