News for hackers. Stuff that matters.
Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by defart on Tuesday June 21, 2022 @02:53PM (#31827624)
Worked at a place that was doing this (creating a notion clone with some specific functionalities).

The hardest/most unstable part was getting a solid WYSIWYG editor experience with a bunch of different media handling. The backend part seemed fairly trivial in comparison, so I'm not sure why would this be used to showcase strapi.

Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by dawnerd on Tuesday June 21, 2022 @03:05PM (#31827802)
The one thing I'd warn about Strapi is they seem to be okay completely breaking everything in major versions. V3 to V4 has been quite frankly a total disaster - especially around handling deprecating mongodb support. They have some alpha & beta scripts which kind of work but require tweaks to work correctly for more complex data structures.
Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by js4ever on Tuesday June 21, 2022 @03:21PM (#31827976)
Go check their docker support... It's also a total disaster. Only V3 exist and it's abandoned since nearly a year.

https://docs.strapi.io/developer-docs/latest/setup-deploymen...

Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by dawnerd on Tuesday June 21, 2022 @08:18PM (#31830617)
The other thing is how much work the GraphQL/REST experience is now

https://forum.strapi.io/t/discussion-regarding-the-complex-r...

Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by hhthrowaway1230 on Tuesday June 21, 2022 @10:37PM (#31831460)
Every time someone says "Notion clone". I'm like, oh boy, that's a bold statement. I experimented with it a couple of times and its _a lot_ and a serious challenge.

In order to make a notion clone one would need an huge amount of GraphQL types. Notion has many different content blocks text, callout, tables, images, etc. And those types also have configurations i.e (table calendar, board, timeline). Additionally there are field types with individual configuration as well. These all need to be expressed trough the API, and graphql's interface system might be a candidate for it. But it will be a _lot_ of models.

On top of that you need to create the most flexible editor in existence in regarding editing these content blocks.

The easy part is storing though so that's good. For a small sized setup. You can just jam it in a postgres jsonb table make some materialised views and indexes and be done with it.

Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by criddell on Tuesday June 21, 2022 @01:22PM (#31826605)
Is it really a clone or just something that has some similarities?
Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by ushakov on Tuesday June 21, 2022 @01:52PM (#31826964)
it's a marketing piece to promote Strapi
Re:How to Build a Notion Clone with Strapi v4 and Next.js (P... by whoomp12342 on Tuesday June 21, 2022 @01:55PM (#31827004)
its an rss to promote writing code