Our Journey into Decoupled Apps with Symfony
summary
Agency moves from Symfony+Twig to a Symfony REST backend supporting Angular SPAs, first using FOS REST, JMS Serializer, JWT auth and Nelmio CORS/Docs but hitting pain points: front-end hard‑coded URLs, nested relationships lacking type info, and messy context-dependent payloads. Adding HATEOAS (Bazinga bundle) makes the API discoverable and removes URL coupling. Migrating to API Platform produces auto CRUD endpoints, JSON‑LD/Hydra types, pagination, filtering and Swagger docs; custom data providers (WordPress) work but require extra wiring.
AI-written summary · about
