Production-Ready Cloud-Native Todo Application with AI Chatbot & Kubernetes Deployment
- Live Demo (Phase V): http://128.203.86.119:3000 - Azure AKS Production
- Phase V Demo Documentation:
PHASE5_DEMO_DOCUMENTATION.md - Phase IV Deployment Guide:
phase4/MANUAL-OPERATIONS-GUIDE.md - Spec-Driven Process:
CLAUDE.md - Project Constitution:
CONSTITUTION.md
A comprehensive todo management application that evolved from a simple console app to a production-ready cloud-native application deployed on Azure Kubernetes Service (AKS) with event-driven architecture.
Evolution Path: Console App β Web App β AI-Powered β Kubernetes (Local) β Cloud Production (AKS + Kafka + Dapr) β
Current Status: Phase V Complete - Production deployment on Azure AKS with AI chat assistant, Kafka event streaming, and Dapr distributed runtime.
Hackathon.Phase5.Completion.-.Made.with.Clipchamp.1.mp4
- β Full CRUD Operations - Create, Read, Update, Delete tasks
- β User Authentication - Email, Google, GitHub OAuth
- β Multi-User Support - Isolated task management
- β Task Organization - Priorities, categories, due dates
- β Search & Filter - Find tasks quickly
- β Kanban Board - Drag-and-drop interface
- π€ Natural Language Processing - "Add task to buy milk tomorrow"
- π Smart Date Extraction - Understands "next Friday", "in 2 days"
- π― Auto-Prioritization - Detects urgency from context
- π·οΈ Category Inference - Automatic task categorization
- π¬ Conversational Interface - Chat widget for task management
- βΎοΈ Unlimited AI - Free tier with OpenRouter + Mistral
- βΈοΈ Kubernetes Orchestration - Auto-healing, rolling updates
- π³ Docker Containerization - Multi-stage optimized builds
- π¦ Helm Package Management - Version-controlled deployments
- π§ ConfigMaps - Externalized configuration
- π Health Probes - Liveness & readiness checks
- π Resource Management - CPU/memory limits & requests
- βοΈ Azure AKS Deployment - Production-ready cloud infrastructure
- π¨ Kafka Event Streaming - Event-driven architecture with Strimzi
- π Dapr Integration - Distributed runtime for reliable messaging
- π€ AI Chat Working - All MCP tools functional
- π° Resource Optimized - 60% CPU reduction (single-node deployment)
- π CI/CD Pipeline - Automated GitHub Actions deployment
- π 30 Production Skills - Documented and reusable
- π§ 3 Executable Workflows - With turbo annotations
- Frontend: Next.js 15 (React, TypeScript, Tailwind CSS)
- Backend: FastAPI (Python, SQLModel)
- Database: PostgreSQL (on AKS)
- AI: OpenRouter + Mistral (free tier)
- Auth: Better Auth (Email, Google, GitHub)
- Containerization: Docker (multi-stage builds)
- Orchestration: Kubernetes (Azure AKS)
- Package Manager: Helm Charts
- Event Streaming: Kafka (Strimzi operator)
- Distributed Runtime: Dapr (Pub/Sub, State)
- Container Registry: Azure Container Registry
- CI/CD: GitHub Actions
Duration: 1 week | Completion: Dec 7, 2025
- Python CLI with in-memory storage
- Basic CRUD operations
- Clean code architecture
Duration: 1 week | Completion: Dec 14, 2025
- Next.js responsive frontend
- FastAPI REST backend
- PostgreSQL database
- Better Auth authentication
- Multi-user support
Duration: 1 week | Completion: Dec 21, 2025
- Natural language processing
- Smart metadata extraction
- Function calling for task ops
- Unlimited AI quota
Duration: 2 weeks | Completion: Dec 30, 2025
Implementation:
- β Multi-stage Docker builds (Frontend: 485MB, Backend: 245MB)
- β Kubernetes manifests (3 deployments, 3 services)
- β Helm charts (400+ lines values.yaml)
- β ConfigMaps for configuration
- β Health probes & resource limits
- β Gordon AI tested & documented
- β kubectl-ai/kagent guides
Documentation (70,000+ words):
- Deployment guide (15,000 words)
- Spec history (10,000 words)
- Gordon AI guide (8,000 words)
- 22 operational workflows
- Security audit procedures
Duration: 2 weeks | Completion: Jan 18, 2026
Achievements:
- β Azure AKS Deployment - Production single-node cluster
- β Kafka + Dapr - Event-driven architecture
- β
3 Critical Bugs Fixed:
- Undefined reminder functions (commit:
ac1e2dd) - Async/await mismatch (commit:
8c14249) - AttributeError on remind_at (commit:
c36aaa5)
- Undefined reminder functions (commit:
- β Resource Optimization - 60% CPU reduction (750m β 300m)
- β AI Chat 100% Working - All MCP tools functional
- β CI/CD Pipeline - Automated GitHub Actions
- β Documentation - 30 skills + 3 workflows captured
Live Demo: http://128.203.86.119:3000
Evidence: See PHASE5_DEMO_DOCUMENTATION.md for complete proof
For Web App (Phase II-III):
- Node.js 20+
- Python 3.13+
- PostgreSQL (or Neon account)
- OpenRouter API key (free)For Kubernetes (Phase IV-V):
- Azure subscription (for AKS)
- Docker & kubectl
- Helm 3.13+
- Azure CLILocal Development:
# Clone repository
git clone https://github.com/Tahir-yamin/todo_hackathon_phase2.git
cd todo_hackathon_phase1
# Backend
cd phase2/backend
pip install -r requirements.txt
cp .env.example .env # Edit with your credentials
uvicorn main:app --reload
# Frontend (new terminal)
cd phase2/frontend
npm install
cp .env.example .env.local # Edit with your credentials
npm run dev
# Access: http://localhost:3000Deploy to AKS (Phase V):
# See complete workflow:
.agent/workflows/deploying-to-aks.md
# Quick deploy:
helm upgrade --install todo-chatbot ./phase4/helm/todo-chatbot \
-n todo-chatbot \
-f ./phase4/helm/todo-chatbot/values-optimized-cpu.yaml| Document | Description | Words |
|---|---|---|
README.md |
This file - project overview | 3,000 |
PHASE5_DEMO_DOCUMENTATION.md |
NEW Phase V evidence & demo guide | 5,000 |
CLAUDE.md |
Spec-driven development process | 8,500 |
CONSTITUTION.md |
Project principles & architecture | 5,000 |
| Document | Description | Skills |
|---|---|---|
.claude/mcp-debugging-skills.md |
MCP tool debugging | 5 |
.claude/kubernetes-resource-optimization-skills.md |
K8s optimization | 5 |
.claude/dapr-configuration-skills.md |
Dapr setup & troubleshooting | 5 |
.claude/helm-configuration-skills.md |
Helm best practices | 5 |
.claude/openrouter-api-skills.md |
AI API integration | 5 |
.claude/python-async-patterns-skills.md |
Async/await patterns | 5 |
| Workflow | Description |
|---|---|
.agent/workflows/deploying-to-aks.md |
Complete AKS deployment |
.agent/workflows/github-actions-deployment-verification.md |
Post-deploy checks |
.agent/workflows/fixing-chat-ui-errors.md |
AI chat debugging |
| Document | Description | Words |
|---|---|---|
phase4/MANUAL-OPERATIONS-GUIDE.md |
Complete deployment guide | 15,000 |
phase4/docs/GORDON-AI-GUIDE.md |
Docker AI Agent integration | 8,000 |
specs/phase4/SPECIFICATION-HISTORY.md |
Complete spec evolution | 10,000 |
.agent/workflows/ |
25 operational workflows | 25,000+ |
Total Documentation: 80,000+ words (Phase IV: 70K + Phase V: 10K)
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β Azure AKS Cluster β
β (Single Node - 2 vCPU) β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Frontend (Next.js) β Backend (FastAPI) β
β Port: 3000 β Port: 8000 β
β CPU: 100m β CPU: 100m β
β β + Dapr Sidecar (100m) β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PostgreSQL β Kafka (Strimzi) β
β CPU: 100m β Event Streaming β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
GitHub Actions Dapr Pub/Sub
Resource Optimization: 60% CPU reduction enables single-node deployment
- Azure AKS Deployment - Production cloud infrastructure
- Kafka Event Streaming - Strimzi operator
- Dapr Integration - Distributed runtime
- 3 Critical Bugs Fixed - All documented with evidence
- Resource Optimization - 60% CPU reduction
- AI Chat 100% Working - All commands functional
- CI/CD Pipeline - GitHub Actions automated
- 30 Skills Documented - Production-tested and reusable
- 3 Executable Workflows - With turbo annotations
- Demo Documentation - Complete with evidence
- Docker Containerization - Multi-stage, optimized
- Kubernetes Deployment - Local K8s running
- Helm Charts - Version-controlled
- All Features Working - CRUD + AI chatbot
- Gordon AI - Tested and documented
- Comprehensive Documentation - 70,000+ words
- Security Audit - 100% pass
- β¨ 25 operational workflows
- β¨ Spec-driven development demonstrated
- β¨ Production deployment (Azure AKS)
- β¨ Event-driven architecture (Kafka + Dapr)
- β¨ 80,000+ words documentation
- β¨ Level 4/5 cloud-native maturity
# Run backend
cd phase2/backend && uvicorn main:app --reload
# Run frontend
cd phase2/frontend && npm run dev# Get pod status
kubectl get pods -n todo-chatbot
# View backend logs
kubectl logs -l app=backend -n todo-chatbot -c backend
# Check resource usage
kubectl top pods -n todo-chatbot
# Deploy/upgrade with Helm
helm upgrade --install todo-chatbot ./phase4/helm/todo-chatbot \
-n todo-chatbot \
-f ./phase4/helm/todo-chatbot/values-optimized-cpu.yamlSee .agent/workflows/fixing-chat-ui-errors.md for common issues.
Quick Fixes:
- Pods Pending: Use
values-optimized-cpu.yaml - AI Chat Errors: Check backend logs for MCP errors
- MCP Tool Failures: Test locally with
python -c "from mcp_server import mcp"
Tahir Yamin
- GitHub: @Tahir-yamin
- Email: tahiryamin2050@gmail.com
- Panaversity - Hackathon organizers
- Claude Code - Spec-driven development
- OpenRouter - AI API access
- Azure - AKS free tier
- Dapr Community - Resource optimization guidelines
- Strimzi Project - Kafka operator
MIT License - See LICENSE file
| Phase | Duration | Status | Completion |
|---|---|---|---|
| Phase I | 1 week | β Complete | Dec 7, 2025 |
| Phase II | 1 week | β Complete | Dec 14, 2025 |
| Phase III | 1 week | β Complete | Dec 21, 2025 |
| Phase IV | 2 weeks | β Complete | Dec 30, 2025 |
| Phase V | 2 weeks | β Complete | Jan 18, 2026 |
β Star this repo if you found it helpful!
π Found a bug? Open an issue!
π‘ Have suggestions? Submit a PR!
Built with β€οΈ for Panaversity Hackathon II
Demonstrating spec-driven development & cloud-native architecture
π Stats: 80,000+ words documentation | 30 Phase V skills | 25 workflows | 100% security audit | Level 4/5 cloud-native maturity | Production on Azure AKS βοΈ