Build multitenant apps with Vercel Platform Starter Kit
Вставка
- Опубліковано 16 вер 2024
- Vercel just launched Vercel Platform Starter Kit v2.
vercel.com/blo...
It allows you to build multitenant apps with custom domains with Next.js and Vercel.
All the code is open source. This video takes a deep dive into the code to help you understand it better and use the concepts and code in your own codebase.
At the end of the video I cover Novel.sh editor which is an open-source text editor that includes AI text generation.
The main files to understand to make use of custom domains yourself are:
github.com/ver...
github.com/ver...
I missed this second link in the video but it's worth taking a look at to make the integration work in your project.
#Vercel #Nextjs #OpenSource #AI #openai #gpt #code
Just randomly searched UA-cam after saw vercel’s post on Twitter for v2 and surprisingly found just one by you. Keep it up and also you found a subscriber 🚀👍
Awesome. Glad to have you :)
I was eyeing up v1 of Platforms for a few weeks so had some idea of how it worked. And planned a video for today anyway so timing worked well :)
Same story here. Subbed. I'm on a quest to find a deeper dive but this was super helpful getting me up to speed.
Such a beautifully structured walkthrough, I am now confident with the app router as well as the multi tenant set up
Glad you enjoyed!
Glad you enjoyed!
Very precise and straightforward!
Glad it helped!
Would be awesome to have this configured into a SaaS format with Stripe subscriptions!
Awesome walkthrough!
Thanks ❤️
Trying to do one per week on an open source full stack app.
Thank you for this demo
Glad you enjoyed 🙏
Thank you, this video has been very useful for especially in trying to troubleshoot some 404 issues with the redirects locally and on domain level.
I wish they launched a multitenant starter kit but a one that treats a tenant as a separate organization the employees can sign in to. Basically PaaS instead of a SaaS
You said it … it’s just a starter , you can build your own based on this one , this is already a good things that they made that starter
Glad I found this video, good breakdown. I'm curious as to how they made makeswift using this template, unless I'm misunderstanding the vercel template post.
First I’ve heard of it. But I see they offer custom domains. So it makes their using the same techniques as those shown in the video. Maybe I’ll do a video on their repo in the future as I see it’s open source.
👍👍 are you going to upload more content about this kit ?
About this specifically probably not. But I plan to upload a video each week on an open source project and many will likely be on Nextjs.
I may do one on Novel next week which was covered a bit at the end of the video when I mentioned the tiptap editor with ai generation.
What questions do you have about the platforms repo?
Hey guys, need help please, how can we set the middleware.ts file for this multi-tenancy along with the Clerk auth middleware? Thank you!
Hey! Not sure how it works with clerk :(
Clerk has a special package for multi tennant apps that you may need. But not sure.
This was a great review. It's got me thinking about how you might also build on top of this, say a suite of AI applications like the vercel chatbot application. Is this an easy deployment on top of this platform? thanks
Yup. They have open source demos that do a bunch of stuff around chat. novel.sh is an OSS editor with AI.
ChatHN is another one I covered by Vercel team and OSS: ua-cam.com/video/hcNJaH4EHNY/v-deo.html
I'm planning to do a SaaS application and have been researching till I met your video. How can I do a simplified version of this which uses a separate api backend
What backend do you plan to use? If it's Node.js then consider just using Next.js instead. If it's another type of backend like Python, then I can't guide you here unfortunately :(
An amazing review. Instant sub. Love your humble approach! Elie, I was looking for a multi-tenant idea/solution in next.js. How possible do you think it would be to develop a mobile app that uses the same multitenant system? My project would need mobile apps and multi tenancy. I am in a very beginning research of my project. Appreciate any input.
Can't wait to get it installed and explore.
Thanks for the kind words ♥
What's your plan with the mobile app? To create lots of different apps from the same codebase for different customers?
@@elie2222 Sorry, I just started React Native. But yeah, each customer would have a custom domain (Web App). For Each domain I should have many users with different roles. I would need the same or partial functionality on mobile. I understand, that mobile apps don't have domains, but multi-tenancy is still the case. Trying to understand how react native would use the next.js backend of multitenant next.js