Koko Koala Logo
Koko
Advanced

Production Recipes

Official Blueprint Architecture

Koko CLI recipes are production-ready templates with pinned dependencies from the Master Catalog, preconfigured linters, unit tests, and Docker container support.

⚡ SaaS Starter (Fullstack Next.js)

Stack: Next.js (App Router, React 19) + PostgreSQL + Prisma ORM + Better-Auth + Stripe + Resend + Docker.
Features: Complete authentication flow with secure sessions, PostgreSQL relational schema with migrations, Stripe subscription payments, and accessible UI components with Tailwind CSS.
Quick command: `koko init my-saas -r saas-next`

☕ Enterprise Java Spring Boot (Spring Boot 3 + PostgreSQL)

Stack: React SPA (or Angular) + Java Spring Boot 3 (JDK 21) + PostgreSQL + Spring Security + Docker Compose.
Features: High-concurrency enterprise multi-tier architecture, JPA/Hibernate PostgreSQL connection, production Docker Compose configuration, and JUnit 5 testing suite.
Quick command: `koko init my-enterprise-app -r java-spring`

🏢 Enterprise Full-Stack NestJS (NestJS + Next.js Monorepo)

Stack: Next.js + NestJS + PostgreSQL + Prisma ORM + Better-Auth + Docker Compose + Turborepo.
Features: Clean Architecture / DDD modular architecture, strict dependency injection, Zod schema validation, and unified Turborepo monorepo workspace.
Quick command: `koko init my-corp-app -r enterprise-nestjs`

💻 MERN Stack (MongoDB + Express + React + Node)

Stack: React (Vite, TS) + Node.js Express (TS) + MongoDB + Mongoose + Docker.
Architecture: Monorepo workspace with ready-to-run MongoDB Docker container, typed Mongoose models, and schema validation.
Quick command: `koko init my-mern -r mern`

🚀 PERN Stack (PostgreSQL + Express + React + Node)

Stack: React (Vite, TS) + Node.js Express (TS) + PostgreSQL + Prisma ORM + Docker.
Architecture: Decoupled Turborepo monorepo, shared `packages/db` package for the generated Prisma client, and unified development scripts.
Quick command: `koko init my-pern -r pern`

🐍 FastAPI + React (Python Async + Vite SPA)

Stack: Python FastAPI + React (Vite) SPA + PostgreSQL + Pydantic v2 + Uvicorn.
Features: Asynchronous Python backend with preconfigured CORS for Vite client, interactive Swagger API docs at `/docs`, and dependency management via `requirements.txt`.
Quick command: `koko init my-python -r python-fastapi`

📱 Mobile Cross-Platform Expo (Expo React Native + Express API)

Stack: Expo (React Native, TS) + Node Express API + PostgreSQL + Supabase Auth + Turborepo.
Features: Cross-platform mobile application for iOS and Android sharing schemas and validation types with a Node.js backend.
Quick command: `koko init my-mobile-app -r mobile-expo`