Workshop 1
summary
Sets up a CakePHP 4.1 app from composer and runs it in Docker with a php 7.4 container and Postgres database (mapped to localhost:8099 for the web UI and a custom host port for Postgres), uses bake to generate models/controllers/templates, installs and configures the Authentication plugin as middleware with authentication middleware + form and session authenticators and a password identifier, implements AJAX login returning JSON, and builds an upload flow using a custom Upload behavior with beforeMarshal and afterSave moving file to /files that stores files by UUID; everything demos successfully. PHP 7.4 localhost:8099
AI-written summary · about
