How We built an API first Software in CakePHP 4
summary
API-first shift-planning system built with CakePHP 4 and PHP 8 exposes a machine-readable OpenAPI JSON generated by SwaggerBake, and front-end TypeScript clients are auto-generated (swagger-typescript) so React SPA code matches backend models. Machine learning and optimization live in Python: training jobs take minutes–hours, the fitness solver runs hours (3–24) and both communicate via RabbitMQ (sync requests and async cron workers). Development uses Docker Compose; production targets Kubernetes.
AI-written summary · about
chapters (22)
- 0:00Intro
- 0:36Content
- 1:23Background
- 2:29Projects
- 3:57Shift Planning in Contact Centers
- 7:17What are the architectural goals?
- 9:02What are the architectural options?
- 10:24Technology architecture
- 11:56ReactJS & Swagger React Swagger
- 12:51Backend vs frontend
- 14:10Backend vs Swagger
- 16:16Frontend & Swagger
- 18:25Python scripts
- 22:11Backend & Python
- 24:55Connecting to CC system
- 25:55Project basics
- 26:47Docker
- 28:15Project start
- 28:45Models
- 29:10Controllers
- 31:42Views
- 32:39Start consuming
related talks
39mAPI Development in 2017
23mLow code API based SaaS using CakePHP
59mDriving better outcomes through API first development
43mAPI first with Swagger and Scala
15mThe changing API problem
15mOptimizing API Integration in a Large React Application Using OpenAPI Generator
16mHow the API-First Ecosystem Made Us All Full-Stack
35mAPI-First! Contract-First! Make API development great again!
