Giter Site home page Giter Site logo

diwashbhattarai999 / nextstarter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 348 KB

๐Ÿš€ Next.js Template: A streamlined template for Next.js projects

Home Page: https://db-next-starter.vercel.app

License: MIT License

JavaScript 2.38% CSS 1.28% TypeScript 96.34%
eslint github-actions husky lint-staged next-theme nextjs prettier tailwind commitlint typescript

nextstarter's Introduction

Next.js Template - NextStarter

Next.js NextAuth Tailwind CSS ESLint Prettier Commitlint Husky GitHub Actions

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):

  • Payment Integration with esewa, khalti, stripe (anyone or maybe all)
  • Framer motion or gsap for animation
  • Analytics

Getting Started

  1. Clone the repository:
pnpm create next-app --example "https://github.com/diwashbhattarai999/NextStarter"
  1. Install dependencies using pnpm:
pnpm install
  1. Copy .env.example to .env.local or .env and update the variables.
cp .env.example .env
  1. Start the development server:
pnpm dev
  1. Open http://localhost:3000 in your browser

License

This project is licensed under the MIT License - see the LICENSE file for details.

nextstarter's People

Contributors

diwashbhattarai999 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.