~/talk

Let's Build: Crafting a Nuxt 3 App from Scratch

Talkat Vue.js Nation 2024 · 2024-01-24..01-25· [web-platform, frontend-architecture]
slides:none on file

Builds a Nuxt 3 recipe app that calls the Spoonacular API (requests limited to 100 items), exposes an internal GET /api/recipes endpoint using $fetch and useFetch, and validates responses with Zod/vbot to get TypeScript-safe types. Implements a Nitro file cache (cache key prefix, maxAge ≈ 1 day) to avoid API limits, adds a custom image provider for ingredient images (sizes 100/250/500), uses Nuxt UI for layout, and deploys to Vercel — the app runs with expected data after a small deployment hiccup.

AI-written summary · about

  1. 0:00Introduction
  2. 0:57Creating a Recipe App
  3. 11:05Cache
  4. 13:50Fetch
  5. 17:17UI
  6. 26:15Columns
  7. 29:01Measures
  8. 30:54Custom Provider
  9. 33:18Image Provider
  10. 35:53Responsive Images
  11. 37:38Steps
  12. 44:13Deploy
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.