Coding · AI · October 2025

WBT Pricing Engine

  • TypeScript
  • React
  • Vite
  • Gemini
  • Markdown

Role: Architecture · Concept · Coding

WBT Pricing Engine

A documentation-driven pricing and estimation system for Web-Based Training projects at chemmedia AG. The architecture has three tiers: a Markdown playbook that is the single source of truth for all business rules and numeric values, a TypeScript calculation engine that imports exclusively from a mirrored config file (never defines constants independently), and a customer-facing React inquiry frontend. A validation script parses YAML blocks from the playbook and compares every value against the TypeScript constants at CI time — drift between documentation and code is a build failure, not a review comment. The playbooks are simultaneously written to be consumed by Gemini as instructions for automated customer inquiry handling, making the same document readable by both humans and AI agents.