~/talk

Using Notion as a CMS with Nuxt

Talkat Nuxt Nation 2021 · on Tuesday, 2021-10-12· [web-platform, javascript]
slides:none on file

Notion becomes a headless CMS by using the Notion API (public beta May 13, 2021), creating an integration to get an API token, sharing the database with that integration, grabbing the database ID and calling it from Netlify serverless functions so the Node-only SDK and secret never live in the browser. A demo builds a to‑do database, fetches results (deeply nested JSON like properties.name.title[0].plain_text), serves them to a Nuxt frontend with live reload, and the pipeline works end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14What is Notion
  3. 2:39Notion editor demo
  4. 5:27Sharing in Notion
  5. 7:11Notion databases
  6. 10:00Extracting data from Notion
  7. 11:24Serverless functions intro
  8. 13:29Serverless functions code
  9. 15:57Notion API integration
  10. 17:01Notion integration setup
  11. 18:25API tokens with Netlify
  12. 20:09Fetching Notion data
  13. 21:34Displaying Notion data
  14. 23:59Parsing Notion JSON
  15. 25:42Finalizing integration
  16. 27:27Trade-offs with Notion CMS
  17. 28:53Performance concerns
  18. 29:34Resources and closing
~/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.