Can you build a MULTI-TENANT SAAS APP in 1 hour?
HTML-код
- Опубликовано: 7 фев 2025
- In this episode of "100 Apps, 100 Hours," watch as a sleep-deprived developer attempts to build a team-based to-do app in 60 minutes. What could possibly go wrong?
Highlights:
Fumbling through data models like a bull in a china shop
Cursing at permissions settings that refuse to cooperate
Realizing halfway through that TypeScript might have been a good idea
Building a UI that only a mother could love
Narrowly avoiding a nervous breakdown as the clock ticks down
Watch in mild amusement as Bryant battles buggy code, questionable design choices, and his own sleep-deprived brain. Will he finish in time? Will the app actually work? Does anyone really need another to-do app?
Tune in for an hour of coding chaos, dubious decision-making, and a reminder that maybe, just maybe, complex SaaS applications weren't meant to be built in an hour.
Just to send some kudos to see someone sweating and not afraid to do it publicly. Some dev love to you.
Kudos gladly accepted. Thanks for the comment! -- Bryant
Why should you be limited with time? I would appreciate more extended tutorial. Thanks anyway
Thanks for the demonstration! Question: How would this look like using policies?
Cool. How do I now restrict users from creating TODO-s in other teams? The provided setup just gave "root" "create todos access"... @30:44
I am still having the same question and I don't know how to achieve it.
@brian Waiting your support
I couldn't 'auto' populate site id, based on the currently logged in user. But there is an option already to populate user_created data.
Just a thought, Lets say I have 'teams' table and I have can add multiple users to each team (like I do now). Lets say I DON'T put 'team' field in 'tasks' or any of the actual content table because all table will have directus native *user_created *field. If a team T1 has user U11 and U12, and team T2 has users U21 and U22 then based on this information I can show/allow user U12 to view and edit the content added by U11, but they still won't be able to see content of T2 added by U21 an d U22, this way I can auto populate user_created and keep the content segregated by Site by using 'On Create' and 'On Update' option. What do you think?
nice to see some nuxt love.
Great video. I just want to know if is there any way to limit a tenant's resources like CPU, memory and storage usage for a particular tenant? In my scenario, my limited resource VPS has three clients but one client may have the potential unwanted high traffic and may end up using a lot of storage for numerous multimedia and file uploads. I want to limit his resources. Is there any way to do this?
please share a code ...
hello thanks you so much for the video, this tenancy feature can be done with the open source version?
Also when you add slg for the team , what means url safe? thanks you so much.
can we do a todo app with kanban board and stuff? thank you 🙏🙏
So i was using directus but had a question about user limitation,how many user can be created in this portal if we try to selfhost on our own server
What a champ Bryant!
Nice one
yeah, very nice! :)
I'm waiting for ecommerce yet
Using a starter template which has already all the integrations is kinda of cheating :)
Next subscriptions, so it is more 100 features in 100 hours than 100 apps...
I consider the frontend app a bonus. He could have ended the video way sooner :)