scriptified / scriptified.dev

A weekly newsletter with insightful tips, tools, resources & more on React and JavaScript. Made with NextJS && TailwindCSS. Curated by @gupta-ji6 && @prateek3255.
https://scriptified.dev
MIT License
26 stars 7 forks source link

Sync Notion database with Strapi CMS #85

Open gupta-ji6 opened 2 years ago

gupta-ji6 commented 2 years ago

We currently store all our resources in Notion and use Strapi as CMS. We create draft issue in Notion and after review & approval of both @prateek3255 & @gupta-ji6, we add them on Strapi CMS again.

If we sync Notion with Strapi using Notion API and Strapi API/Webhooks, our duplicated work will be automated 🛠️

hussamkhatib commented 2 years ago

Doesn't strapi itself have that feature where a document is initially saved as a draft and you publish it whenever you want. Both of you can review in the strapi's studio itself right?

gupta-ji6 commented 2 years ago

Doesn't strapi itself have that feature where a document is initially saved as a draft and you publish it whenever you want. Both of you can review in the strapi's studio itself right?

yes, @hussamkhatib Strapi does have that feature and we use it too. But we don't store all resources on Strapi yet (only the once published or the next draft issue) and maintain them on Notion instead. We collect potential resources on Notion database, review and pick them up for issues and once approved by both for an issue - we add it to Strapi draft.

We aren't storing everything on Strapi for cost-cutting you can say.

gupta-ji6 commented 2 years ago

Also, syncig Notion DB with Strapi is a good-to-have for us to reduce redundancy, not a necessity. Hence, we ourselves haven't yet explored much on this and made a little POC only.

alexanderbnelson commented 1 year ago

Would love to hear more about syncing a Notion db with Strapi. Possible to see the implementation?

gupta-ji6 commented 1 year ago

Would love to hear more about syncing a Notion db with Strapi. Possible to see the implementation?

hi @alexanderbnelson, we haven't prioritised working on it yet & hence there is no implementation I can share as of now. We only explored Notion API, webhooks & Strapi API's to have a flow overview if this could actually work.

We'll update this issue thread whenever we work on it.