Skip to content

πŸš€ A modern and production-ready Next.js boilerplate. It provides a quick start with TypeScript, i18n support, and automated tooling.

License

Notifications You must be signed in to change notification settings

nitrokit/nitrokit-nextjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Nitrokit Logo

Nitrokit

πŸš€ Modern Next.js boilerplate with TypeScript, authentication, and development automation

CodeFactor Grade NPM Version License: Apache-2.0

Deploy with Vercel

✨ Features

  • Framework: Next.js 15 (App Router)
  • Styling: Tailwind CSS 4 & shadcn/ui
  • Language: TypeScript
  • Database & ORM: PostgreSQL with Prisma
  • Authentication: NextAuth.js v5
  • Internationalization (i18n): Full App Router support with next-intl
  • Form Management: React Hook Form & Zod
  • Containerization: Optimized Docker support for development and production
  • Linting & Formatting: ESLint and Prettier
  • Testing: Vitest (Unit/Integration) & Playwright (E2E)
  • UI Components: shadcn/ui built on Radix UI
  • Email: Resend & React Email
  • API Rate Limiting: Upstash Ratelimit
  • Automatic Versioning: Semantic Release

πŸš€ Getting Started

You have a few options to get started with this boilerplate.

With nitrokit-cli

You can create a new project using this boilerplate with the Nitrokit CLI.

npx nitrokit-cli new my-app

With Docker

  1. Ensure you have Docker installed and running on your machine.
  2. Run the following command in the project directory:
    docker-compose up

Manual Setup

  1. Install dependencies:
    pnpm install
  2. Start the development server:
    pnpm dev

The application will be available by default at http://localhost:3000.

πŸ“œ Available Scripts

Script Description
pnpm dev Starts the development server.
pnpm build Builds the project for production.
pnpm start Starts the production-ready build.
pnpm lint:fix Checks for code style and errors.
pnpm format:write Formats the code with Prettier.
pnpm test Runs unit and integration tests.
pnpm prisma:migrate Creates a new database migration.

🀝 Contributing

Contributions are welcome! Please read the Contributing Guide and our Code of Conduct before submitting a pull request.

πŸ“ License

Licensed under the Apache License 2.0 - see LICENSE file.


Made with ❀️ by Mustafa Genç

⭐ Star this repository if you find it helpful!

Sponsor this project

 

Contributors 6