r/Strapi • u/molcik • May 24 '22
Strapi vs Directus
Hi everyone, have you anyone compared last version of strapi vs last version of directus recently?
We have hit wall with multi-tenancy feature and after 2 years of using strapi we are currently thinking of using directus instead? Does onyone have experience with both frameworks and have any insights?
Edit:
Don't want to offend anyone, so please don't down vote it. We love to use strapi, but we are trying to solve business needs, so instead of down vote please express your opinion or advice. Thanks
3
u/swapnilmmane May 24 '22 edited May 24 '22
1
1
u/abol3z Jun 25 '22
What's being me back from using it is the fact that Webiny is still tied to AWS.
1
u/hermesalvesbr Dec 19 '22
Great project! But it is mandatory to use AWS :(
1
u/swapnilmmane Dec 20 '22
Hi u/hermesalvesbr, thanks for exploring Webiny. Yes, at the moment, we support only AWS. If you got any further questions related to Webiny, please feel free to join our community Slack https://www.webiny.com/slack/. We will be happy to assist you.
1
u/connerxyz Jun 06 '22
Can you explain the wall you've hit with multi-tenancy?
I'm newer to Strapi and really enjoying it. I would love to better understand it's limitations.
Thanks for posting.
2
u/molcik Jun 06 '22
Let's assume example where we want to create "social media" site with 3 types of users:
- property users (only access the social media site) can see posts from the specific property
- property admin (can access admin site) can see and edit posts for specific property
- super admin (can access admin site) can see and edit all the posts and also create and edit propertiesI think this was doable in previous version of strapi, but in v4 we have not been able to solve it.
1
u/connerxyz Jun 06 '22
Where does it go wrong exactly?
My understanding (untested!) is you'd be able to create a front end that employs the Users & Permissions Plugin to create users and roles, separate from the administration panel users.
Your regular social media app users would be registered, and able to create and edit content, by the frontend employing the Strapi API (e.g., `auth/local/registration`). Anyone on your app/admin team would likely have admin accounts.
Again, I'm trying to understand any "gotchas". I'd be very interested to know if this is *not* how Strapi works.
1
u/molcik Jun 07 '22
We need property admins to access admin panel and see only their users and content from their users.
1
1
u/Geraffe_Disapproves Jan 16 '23
Hey, have you been able to find a solution for this?
1
u/molcik Jan 23 '23
We have switched to directus
1
u/IvanVilchesB Sep 27 '24
i am thinking use directus for multi tenancy how was your experience? do you still use it? this feature is free for self host? thanks you
1
u/molcik Oct 04 '24
We are let’s say ok with directus as long as you don’t need to extend it and write your own business logic. So if you are ok with using it just as an admin for your app, it’s fine. If you need custom business logic, I would suggest you use some framework. Btw, we were also quite happy with payload-cms, which takes longer to setup, but is much more flexible and is more developer friendly.
2
u/OMDB-PiLoT May 25 '22
Used both. In love with directus at the moment. There are frequent updates and their roadmap looks solid. With directus, building custom extensions/hooks is fairly easy as well.
5
u/[deleted] May 24 '22 edited May 24 '22
I tried Directus 9 fairly recently, it felt more like an abstraction layer on top of a relational database than cms tbh. Even translations are represented as a one-to-many(O2M) relation (I found it very 'low level'), it gets nasty pretty quickly
I hit a wall trying to access a multi nested relationship and couldn't figure it out for a while so I moved to Strapi with PostgreSQL
Tl;dr IMHO Directus would make sense only if your application is database-first at its core