nitrokit / nitrokit-nextjs

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

Home Page:https://demo.nitrokit.tr

Repository from Github https://github.comnitrokit/nitrokit-nextjsRepository from Github https://github.comnitrokit/nitrokit-nextjs

Nitrokit Logo

Nitrokit

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

CodeFactor Grade NPM Version License: Apache-2.0 semantic-release: next.js

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!

About

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

https://demo.nitrokit.tr

License:Apache License 2.0


Languages

Language:TypeScript 97.5%Language:CSS 1.1%Language:Shell 0.9%Language:JavaScript 0.4%Language:Dockerfile 0.1%