Home - mustafagenc/nitrokit GitHub Wiki

Welcome to the Nitrokit Documentation! This is your comprehensive guide to building modern web applications with our Next.js 15 starter kit.

๐ŸŒŸ What is Nitrokit?

Nitrokit is a production-ready Next.js 15 starter kit that combines the best tools and practices for building scalable, modern web applications. It features TailwindCSS v4, Storybook 8.4, TypeScript, and a comprehensive component library.

๐Ÿš€ Quick Start

# Clone the repository
git clone https://github.com/mustafagenc/nitrokit.git
cd nitrokit

# One-click setup
./shell/dev_setup.sh

# Start development
yarn dev

# Start Storybook
yarn storybook

๐ŸŽฏ Complete Setup Guide โ†’

๐Ÿ“š Documentation Structure

๐Ÿ—๏ธ Getting Started

๐ŸŽจ Component Development

๐Ÿ› ๏ธ Core Features

๐Ÿš€ Advanced Topics

  • Performance - Optimization techniques
  • Testing - Unit, integration, and E2E testing
  • Deployment - Production deployment guides
  • CI/CD - Continuous integration and deployment

๐Ÿ”ง Development Tools

๐ŸŽฏ Popular Topics

๐Ÿƒโ€โ™‚๏ธ Quick Actions

๐ŸŽจ Component Examples

๐Ÿ› ๏ธ Common Tasks

๐Ÿ—๏ธ Architecture Overview

nitrokit/
โ”œโ”€โ”€ ๐ŸŽจ Frontend Stack
โ”‚   โ”œโ”€โ”€ Next.js 15 (App Router, Server Components)
โ”‚   โ”œโ”€โ”€ React 18 (Suspense, Concurrent Features)
โ”‚   โ”œโ”€โ”€ TypeScript (Strict configuration)
โ”‚   โ””โ”€โ”€ TailwindCSS v4 (Utility-first styling)
โ”‚
โ”œโ”€โ”€ ๐Ÿ“– Component Development
โ”‚   โ”œโ”€โ”€ Storybook 8.4 (Interactive development)
โ”‚   โ”œโ”€โ”€ Design System (Consistent UI patterns)
โ”‚   โ””โ”€โ”€ Component Library (Pre-built components)
โ”‚
โ”œโ”€โ”€ ๐Ÿ” Backend & Database
โ”‚   โ”œโ”€โ”€ NextAuth.js (Authentication)
โ”‚   โ”œโ”€โ”€ Prisma ORM (Type-safe database)
โ”‚   โ””โ”€โ”€ API Routes (Server-side logic)
โ”‚
โ””โ”€โ”€ ๐Ÿš€ Development & Deployment
    โ”œโ”€โ”€ Vercel (Optimal deployment)
    โ”œโ”€โ”€ GitHub Actions (CI/CD)
    โ””โ”€โ”€ Development Tools (ESLint, Prettier, Husky)

๐Ÿ“Š Key Features

Feature Description Status
๐ŸŽจ Component Library 50+ pre-built components with Storybook โœ… Ready
๐ŸŒ Internationalization 19 languages with RTL support โœ… Ready
๐Ÿ” Authentication Multiple providers with NextAuth.js โœ… Ready
๐Ÿ—ƒ๏ธ Database Prisma ORM with multiple DB support โœ… Ready
๐Ÿ“ฑ Responsive Design Mobile-first approach โœ… Ready
โ™ฟ Accessibility WCAG 2.1 AA compliant โœ… Ready
โšก Performance Core Web Vitals optimized โœ… Ready
๐Ÿงช Testing Unit, integration, E2E testing โœ… Ready

๐ŸŽฏ Use Cases

๐Ÿข Enterprise Applications

  • SaaS Platforms - Multi-tenant applications with authentication
  • Admin Dashboards - Data-rich interfaces with charts and tables
  • E-commerce Sites - Product catalogs with internationalization
  • Content Management - Editorial interfaces with rich components

๐Ÿš€ Startups & MVPs

  • Landing Pages - Marketing sites with modern design
  • Web Applications - Full-stack applications with database
  • API Dashboards - Developer tools and monitoring interfaces
  • Portfolio Sites - Personal or agency websites

๐ŸŽ“ Learning Projects

  • Component Libraries - Learn modern React patterns
  • Full-Stack Development - End-to-end application development
  • Design Systems - Consistent UI/UX implementation
  • Performance Optimization - Modern web performance techniques

๐Ÿ›ฃ๏ธ Learning Path

๐ŸŸข Beginner Path (New to Next.js/React)

  1. Setup Guide - Get Nitrokit running
  2. Project Structure - Understand the codebase
  3. First Steps - Create your first component
  4. Storybook Guide - Learn component development

๐ŸŸก Intermediate Path (Familiar with React)

  1. Component Library - Explore existing components
  2. Creating Components - Build custom components
  3. Authentication - Add user authentication
  4. Database - Work with data persistence

๐Ÿ”ด Advanced Path (Experienced developers)

  1. Performance - Optimize for production
  2. Testing - Implement comprehensive testing
  3. CI/CD - Set up automated workflows
  4. Contributing - Contribute back to Nitrokit

๐Ÿ”— External Resources

๐ŸŽจ Design & UI

โšก Development

๐Ÿ” Authentication & Security

๐Ÿš€ Deployment & DevOps

๐Ÿค Community & Support

๐Ÿ’ฌ Get Help

๐ŸŽ“ Learning Resources

๐Ÿค Contributing

๐Ÿ“ˆ What's New

โœจ Current Release - v1.0.0

  • ๐ŸŽ‰ Initial Release - Production-ready Next.js 15 starter kit
  • ๐ŸŽจ TailwindCSS v4 - Latest utility-first CSS framework
  • โšก Next.js 15 - App Router with Server Components and Turbopack
  • ๐Ÿ“– Storybook 8.4 - Interactive component development environment
  • ๐ŸŒ Internationalization - Support for 19 languages with RTL
  • ๐Ÿ” Authentication - NextAuth.js with multiple providers
  • ๐Ÿ—ƒ๏ธ Database Integration - Prisma ORM with PostgreSQL support
  • ๐Ÿงช Testing Suite - Jest and Playwright for comprehensive testing
  • ๐Ÿš€ Deployment Ready - Optimized for Vercel with CI/CD

๐Ÿ”ฎ Roadmap

  • ๐ŸŒ™ Dark Mode System - Automatic theme switching
  • ๐Ÿ“ฑ Mobile Components - Touch-optimized UI elements
  • ๐Ÿ”ง CLI Tools - Component and page generators
  • ๐Ÿ“Š Analytics Dashboard - Built-in performance monitoring
  • ๐ŸŽฏ SEO Optimization - Advanced meta tag management
  • ๐Ÿ”Œ Plugin System - Extensible architecture for third-party integrations

๐ŸŽฏ Recent Improvements

  • Performance - 90+ Lighthouse scores across all metrics
  • Accessibility - WCAG 2.1 AA compliance
  • Developer Experience - Hot reload, TypeScript strict mode
  • Code Quality - ESLint, Prettier, Husky pre-commit hooks
  • Documentation - Comprehensive Storybook stories and guides