Build a fully decoupled application with Drupal and Astro
summary
Shows a working decoupled site: Drupal serves content via JSON:API (default page size 50) and Astro builds the frontend, using file‑based routes and getStaticPaths equivalents to generate dynamic recipe pages and pagination. Uses Astro islands and client directives to ship near‑zero JS and load interactive React components only when visible. Demonstrates a live Umami demo, fetches and formats responses with japi‑params & jsona, retrieves images, menus and blocks, and the demo runs locally on Astro’s default port 4321.
AI-written summary · about
chapters (25)
- 0:00Introduction to Drupal and Astro
- 1:05Decoupled Drupal architectures explained
- 2:11Astro framework overview
- 3:18Astro project structure
- 4:41Astro components and styling
- 6:04Adding Tailwind CSS to Astro
- 7:12Client-side JavaScript in Astro
- 7:56Using React in Astro islands
- 9:22Astro routing and dynamic pages
- 10:48Dynamic routes with parameters
- 11:30Astro layouts and data fetching
- 13:39Drupal JSON:API fundamentals
- 16:32JSON:API filtering and sorting
- 17:58JSON:API pagination and includes
- 19:42Drupal JSON:API modules
- 20:06Integrating Drupal with Astro demo
- 21:14Building queries with json-api-params
- 22:41Formatting API responses with jsona
- 24:04Dynamic recipe pages in Astro
- 25:50Recipe listing with pagination
- 26:35Reusable components like homepage banner
- 27:41Recipe collection component
- 28:26Resources and documentation
- 29:56JSON:API sub-requests for complex operations
- 31:02Q&A session
