From Vibe Coding to Production in Days, Not Months - A production-ready full-stack template with AI-native development workflow
Vibe to Production
The complete software development lifecycle for AI-assisted developers.
You can vibe code features in hours. But shipping to production? That's weeks of CI/CD, security, infrastructure, testing, monitoring, and deployment pipelines.
This template gives you the entire production stack from day one.
The Full Picture
WHAT VIBE CODING GIVES YOU
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ Idea โโโโถ Code โโโโถ "It works on my machine!" โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WHAT PRODUCTION REQUIRES โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ โ Idea โโโโถ Code โโโโถ Tests โโโโถ Security โโโโถ CI/CD โ โ โ โ โ โ โ โผ โผ โผ โ โ Coverage Scanning Pipelines โ โ โ โ โโโโถ Infrastructure โโโโถ Deploy โโโโถ Monitor โโโโถ ๐ โ โ โ โ โ โ โ โผ โผ โผ โ โ IaC/Pulumi Cloud Run Logging/Alerts โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
THIS TEMPLATE = EVERYTHING IN THE SECOND BOX
What You Get
| Phase | Without This Template | With This Template | |-------|----------------------|-------------------| | Code | Works locally | Works locally | | Testing | "I'll add tests later" | Unit, integration, smoke tests ready | | Security | Hope for the best | gosec, govulncheck, Trivy, security headers | | CI/CD | Manual deploys | Automated pipelines, PR checks | | Infrastructure | Click around in console | Pulumi IaC, reproducible | | Deploy | "How do I deploy this?" | One command to Cloud Run | | Monitor | "Is it down?" | Structured logging, health checks |
Time saved: Weeks of setup, months of debugging production issues.
The Stack
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FRONTEND โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ iOS โ โ Android โ โ Web โ โ
โ โ Swift/SwiftUIโ โKotlin/Composeโ โ Next.js โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ BACKEND โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Go + Echo โ OpenAPI โ Structured Logging (Zap) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ INFRASTRUCTURE โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ Cloud Run โ โ Pulumi โ โ Firebase โ โ
โ โ (backend) โ โ (IaC) โ โ (auth/db/web)โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ CI/CD โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ GitHub Actions โ Security Scans โ Auto Deploy โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Web Architecture: Static + Dynamic
The web frontend uses Firebase Hosting with Cloud Functions for SSR:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Firebase Hosting (Web) โ
โ โ
โ Static Assets (CDN) Dynamic Routes (Functions) โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Images, CSS/JS โ โโโโบ โ Server-side render โ โ
โ โ Static pages โ โ Dynamic pages โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Fast global CDN Serverless, scales to zero โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Third-Party Services
| Service | Purpose | Why This Choice | |---------|---------|-----------------| | Google Cloud Run | Backend hosting | Serverless, scales to zero, pay-per-use | | Firebase Auth | Authentication | Easy mobile SDKs, Google/Apple sign-in | | Firestore | Database | NoSQL, real-time sync, generous free tier | | Artifact Registry | Docker images | Private container registry on GCP | | GitHub Actions | CI/CD | Free for public repos, easy secrets management |
Deployment Environments
Two fully isolated environments - separate GCP projects and Firebase projects:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ TWO-ENVIRONMENT SETUP โ
โ โ
โ DEVELOPMENT PRODUCTION โ
โ โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ GCP Project (dev) โ โ GCP Project (prod) โ โ
โ โ โโโโโโโโโโโโโโโโโ โ โ โโโโโโโโโโโโโโโโโ โ โ
โ โ โ Cloud Run โ โ โ โ Cloud Run โ โ โ
โ โ โ api-dev โ โ โ โ api-prod โ โ โ
โ โ โโโโโโโโโโโโโโโโโ โ โ โโโโโโโโโโโโโโโโโ โ โ
โ โ โโโโโโโโโโโโโโโโโ โ โ โโโโโโโโโโโโโโโโโ โ โ
โ โ โ Firebase โ โ โ โ Firebase โ โ โ
โ โ โ - Auth โ โ โ โ - Auth โ โ โ
โ โ โ - Firestore โ โ โ โ - Firestore โ โ โ
โ โ โ - Storage โ โ โ โ - Storage โ โ โ
โ โ โโโโโโโโโโโโโโโโโ โ โ โโโโโโโโโโโโโโโโโ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Push to main โโโถ Auto-deploy to DEV โ
โ Manual promote โโโถ Same image to PROD โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Environment | GCP Project | Firebase Project | Triggered By | |-------------|-------------|------------------|--------------| | Development | yourapp-dev | yourapp-dev | Push to main | | Production | yourapp-prod | yourapp-prod | Manual promotion |
Why separate projects?
- Isolated data (dev data never touches prod)
- Separate billing and quotas
- Different IAM permissions
- Safe to experiment in dev
Built for Claude Code
This template is designed specifically for Claude Code - Anthropic's CLI for AI-assisted development.
Why Claude Code?
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CLAUDE CODE + THIS TEMPLATE โ
โ โ
โ You โโโโถ claude โโโโถ Full codebase access โ
โ โ โ
โ โโโโโถ Pre-configured rules & skills โ
โ โ โ
โ โโโโโถ MCP servers for extended context โ
โ โ โข GitHub (PRs, issues, code search) โ
โ โ โข Memory (persistent knowledge) โ
โ โ โข Context7 (library docs) โ
โ โ โข Notion (team knowledge) โ
โ โ โข Pulumi (infrastructure) โ
โ โ โ
โ โโโโโถ Hooks prevent mistakes automatically โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
MCP Servers (Model Context Protocol)
MCP servers extend Claude's capabilities beyond the codebase:
| MCP Server | What It Does | Why You Need It | |------------|--------------|-----------------| | GitHub | Create PRs, issues, search code | Ship without leaving the terminal | | Memory | Persistent knowledge graph | Remember decisions across sessions | | Context7 | Latest library documentation | Always up-to-date API references | | Notion | Team knowledge base | Connect to your docs | | Pulumi | Infrastructure management | Deploy and manage cloud resources |
See AI_WORKFLOW.md for full MCP setup instructions.
Pre-built AI Automation
| Type | What | Examples | |------|------|----------| | Commands | One-command workflows | /commit, /code-review, /security-scan | | Skills | Auto-activate on context | continuous-improvement, systematic-debugging | | Hooks | Quality gates | Block edits to generated files, enforce commit format | | Rules | Platform-specific guidance | Backend, iOS, Android, Testing rules |
Continuous Improvement Loop
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AI DEVELOPMENT LIFECYCLE โ
โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Start โโโโโถโ Code โโโโโถโ Review โ โ
โ โ Session โ โ Feature โ โ /commit โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ โ โ
โ โผ โผ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Rules โโโโโโโโโโโโโโโโโโโโโ Learn โ โ
โ โ Apply โ Mistake? โ & Fix โ โ
โ โโโโโโโโโโโโ Add rule! โโโโโโโโโโโโ โ
โ โ
โ After 3 months: Rules prevent mistakes before they happen โ
โ Skills automate repetitive tasks โ
โ Memory retains project knowledge โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Quick Start
# Clone
git clone https://github.com/muyen/vibe-to-prod my-app
cd my-app
Setup (installs hooks, configures environment)
./scripts/setup.sh
Run backend locally
cd backend && make run
Health check: curl http://localhost:8080/health
Deploy to cloud (after GCP setup)
cd infrastructure/pulumi && make deploy-dev
See GETTING_STARTED.md for full setup instructions.
Important: Secrets Management>
Never hardcode API keys, database passwords, or other secrets in your code.
- Local dev: Use .env.local (gitignored)
- CI/CD: Use GitHub Actions Secrets
- Production: Use Google Secret Manager>
See SECRETS.md for the complete guide.
For AI Assistants
If you're an AI assistant (Claude, etc.) working on this project for the first time:
Read docs/AI_BOOTSTRAP.md first
This contains project structure, key rules, source vs generated files, and common workflows optimized for AI context.
Production Readiness
This template follows patterns from a real production application:
| Feature | Implementation | Status | |---------|---------------|--------| | Security Headers | CORS, CSP, HSTS, XSS protection | Done | | Security Scanning | gosec, govulncheck, Trivy | Done | | CI/CD Pipelines | Build, test, deploy on every push | Done | | Production Promotion | Test in dev, promote to prod | Done | | Infrastructure as Code | Pulumi with Go | Done | | Structured Logging | Zap logger with request tracing | Done | | Health Checks | /health endpoints for orchestration | Done | | Environment Parity | Docker everywhere | Done |
See PRODUCTION_GAP.md for the full checklist.
Project Structure
.
โโโ backend/ # Go API server
โ โโโ cmd/api/ # Entry point with middleware
โ โโโ internal/ # Business logic
โ โโโ Makefile # build, test, run, lint
โ โโโ Dockerfile # Production container
โโโ web/ # Next.js web application
โ โโโ src/app/ # App Router pages
โ โโโ firebase.json # Firebase Hosting config
โ โโโ Makefile # deploy-dev, deploy-prod
โโโ mobile/
โ โโโ ios/ # Swift/SwiftUI + Fastlane
โ โโโ android/ # Kotlin/Compose + Fastlane
โโโ automation/ # E2E testing
โ โโโ playwright/ # Browser tests
โ โโโ postman/ # API tests
โโโ infrastructure/
โ โโโ pulumi/ # Cloud Run, networking, IAM
โโโ .github/
โ โโโ workflows/ # CI/CD pipelines
โโโ .claude/ # AI workflow config
โ โโโ commands/ # Slash commands
โ โโโ skills/ # Auto-activate behaviors
โ โโโ hooks/ # Quality gates
โ โโโ rules/ # Platform-specific rules
โโโ scripts/ # Setup and automation
โโโ docs/ # Comprehensive documentation
Documentation
| Getting Started | Production | AI Workflow | |-----------------|------------|-------------| | GETTINGSTARTED.md | PRODUCTIONGAP.md | AI_BOOTSTRAP.md | | ARCHITECTURE.md | RELEASECHECKLIST.md | AI_WORKFLOW.md | | OPENAPIWORKFLOW.md | SCALING.md | CLAUDE.md | | TROUBLESHOOTING.md | CICD.md | | | SECRETS.md | SETUPCHECKLIST.md | |
Who This Is For
- Solo developers who want production infrastructure without the research
- AI-assisted developers who need a template that works with Claude Code
- Side project builders who want to ship, not configure
- Teams who want a production-ready starting point
Contributing
This template is extracted from a real production project and actively maintained.
- Found a gap? Open an issue
- Fixed something? Submit a PR
- Shipped with this? Share your experience
License
MIT โ Use it. Fork it. Ship it.
Stop demoing. Start shipping.