Introduction
Supported Tech Stack
Technology Ecosystem (v2.0.0)
Koko CLI supports a diverse, modern catalog of client frameworks, backend runtimes, and database engines:
Frontend Frameworks
✓ Next.js (App Router): High-performance full-stack React framework with React Server Components (RSC), Server Actions, and asset optimization.
✓ React + Vite: Ultra-fast Single Page Application (SPA) powered by Vite with instant Hot Module Replacement (HMR).
✓ Nuxt (Vue 3): Fullstack Vue framework with the Nitro engine and hybrid SSR/SSG rendering.
✓ Svelte (Svelte 5): Modern, reactive, compiler-driven web applications with minimal footprint.
✓ None: Headless configuration for standalone backend APIs and microservices.
Backend Runtimes & Frameworks
✓ Node.js / Express: Classic REST API architecture with strict TypeScript, middleware support, and modular routing.
✓ NestJS: Enterprise-grade modular framework featuring controllers, services, dependency injection, and decorators.
✓ Hono: Ultrafast, lightweight web framework built for TypeScript and edge runtime execution.
✓ Go / Chi Router: High-performance Go web server with strict typing, minimal latency, and zero memory bloat.
✓ Python / FastAPI: Async Python API framework with Pydantic v2 data validation and automatic interactive OpenAPI/Swagger docs.
✓ None: For client applications utilizing Next.js Server Actions or Backend as a Service (BaaS).
Databases & ORMs
Koko cleanly separates database servers from Object-Relational Mappers for maximum flexibility:
✓ PostgreSQL: Battle-tested relational database with first-class Drizzle ORM and Prisma support.
✓ MongoDB: Document-based NoSQL database with elegant schema modeling via Mongoose or Prisma.
✓ MySQL / MariaDB: Industry-standard SQL database engine.
✓ SQLite: Embedded lightweight database, ideal for prototypes and zero-container local development.
✓ GORM (Go): Feature-rich ORM for Go backends with automatic migrations and query builders.
✓ SQLAlchemy / SQLModel (Python): The standard ORM ecosystem for Python with native async support.
Package Managers & Addons
✓ Package Managers: pnpm (recommended for monorepos and disk-efficient dependency deduplication), npm, bun, go_mod (Go), and pip/uv (Python).
✓ Docker Compose: Local container orchestration for relational and document databases with persistent volumes.
✓ GitHub Actions CI: Automated CI workflows for linting, typechecking, and testing.