Notion CMS

  1. Clone & npm install
  2. Download data and add to Notion. Remember to change layout to board and to set status names.
  3. Install Netlify CLI: npm install netlify-cli -g, also install locally
  4. Link account netlify link
  5. Get Shared Integration Token from Notion My Integrations Page
  6. Get Database ID from Notion page
  7. Add environment variables in Netlify: NOTION_DB & NOTION_KEY
  8. Start dev netlify dev
  9. Remember to update workspace URL
  10. Review function in toml file: Netlify Docs
  11. Confirm json is being fetched: http://localhost:8888/.netlify/functions/fetchNotion