Architectural Overview
A structured breakdown of the system architecture, development workflow, and automated deployment pipelines for Agentic Coffee.
Infrastructure & Data Flow Diagram
Local Development Environment
The foundation of the development lifecycle begins locally on dedicated hardware.
- Hardware: Geekom A5 Mini PC.
- Workspace: Primary environment for writing, modifying, and testing code natively.
- AI Integration: "Ollama AI team" acts as an automated development partner for code generation and infrastructure configurations.
Source Control & Versioning
All application logic and configurations are centralized via Git.
- Platform: GitHub.
- Workflow: Commits pushed from the local A5 PC to the remote `main` branch trigger the CI/CD pipeline. GitHub is the single remote source of truth.
CI/CD Orchestration
Bridging the gap between the repository and production servers.
- Orchestrator: Coolify.
- Pipeline: Coolify listens for GitHub webhooks. Upon a push event, it automatically clones the latest codebase, builds Docker containers, and swaps instances without human intervention.
Application Components
The architecture runs on AWS EC2, split into an API consumer and a Backend-as-a-Service.
Frontend Interface
coffee.agenticnodes.dev
Built with HTML, Tailwind CSS, and pure JavaScript. Handles state management, shopping cart logic, 3DS checkout simulations, and mini-games. Functions purely as an API consumer without an internal DB.
Backend CMS API
admin-coffee.agenticnodes.dev
Powered by Directus (Node.js framework) backed by an active PostgreSQL Database. Manages the coffee inventory, pricing, digital media assets, and allows for non-technical content administration.