- Role:
E-commerce Operations & Platform Lead
- Period:
01/2025 — 06/2025
- Stack:
Directus 12, PostgreSQL, Redis, Flutter (web, iOS, Android), Docker Compose, Nginx, GitHub Actions, Firebase Auth
- URL:
keyprog.pt
Keyprog — E-commerce Platform
Principal AI engineer on Keyprog, an e-commerce platform with dropshipping for electrical devices in the automotive industry. Scalable backend with Directus headless CMS and a React/TypeScript frontend supporting real-time data processing and full CRUD.
Highlights
- Data model: 90+ collections with multiple relationships and foreign keys (catalogue, customer groups, pricing tiers, orders, translations), designed and evolved through the Directus MCP server below.
- Directus headless Visual Editor: integrated the Directus Visual Editor (
@directus/visual-editingv2) into a Next.js 15 / React 19 storefront for in-context, live editing of headless content — editors update production pages directly against the CMS. - MCP server (published on npm): designed and shipped
@staminna/directus-mcp-server(v12) — 29+ tools, TypeScript, WebSocket and full Directus API coverage — so AI coding agents and product agents can query, mutate and reason over a Directus backend in natural language. - Directus Marketplace extension: built and published
@staminna/directus-extension-typeform— bidirectional Typeform integration with one-shot form import, Flow operations over the full Typeform API and webhook sync with auto-mapped collections. - CI/CD tooling (published on npm): authored
cicd-mcp-pipeline— an MCP server for multi-environment CI/CD pipeline management over Docker and SSH. - RAG & AI: retrieval pipelines over product and content data with Tavily web search, structured prompting to cut hallucinations on catalog tasks, and MLflow-based evals.
- Testing & quality: unit, functional and integration suites with coverage gates and a TDD approach on critical flows.
- Containerised stack: PostgreSQL, Redis caching and Nginx reverse proxy with load balancing; secured with SSL/TLS and two-factor authentication.
- E-commerce features: Stripe payments with automated transactional emails, order confirmations and invoice generation; real-time product / inventory updates via webhook architecture.
- B2B / B2C commerce: multilingual automotive catalogue on Directus + React + PostgreSQL + Stripe with customer groups, pricing tiers and localised content.
- Access control: 4-tier RBAC (Admin, Editor, Client, Public) with JWT, OAuth2 and OpenID.
- DevOps: GitHub Actions pipelines with Husky hooks and Trufflehog secret scanning.

