Great video Hamed. I have a question around deployment though. I am deploying the apps in my turborepo on Vercel. However, where do I configure the production database URL on Vercel? I am not deploying any of the packages on Vercel, just the apps.
Mr Bahram, did you try to share the Next Auth server side session and all the project can open and read the encrypted session? all projects are in a same site, thank you for all you efforts
Thanks for the video, that's what I was looking for.... Now I wonder .... when uploading my projects to Vercel how to do it ? using turborepo and the additional projects to place them in subdomain ???? I don't know if you understand my question... do you have any video that talks about this topic? Greetings Jose Grillo from Venezuela
NOTE: friend if you could also referncia how to work with GIT from turborepo.... are made all the git from the main root? or each project separately is made to GIT version control? or give some tips here I thank you .... greetings from Venezuela
Hello, I am a fan of your videos and I would like to ask if you are planning any videos about deploying TurboRepo to Vercel (maybe with a backend CMS and frontend Next app). TurboRepo is quite complicated for me, and I haven't found any videos about deployment and project setup with a CMS. Thanks.
I think a custom CMS would be best because if I have a tutorial for it, then there shouldn't be a problem with implementing some third-party options (Keystones, Strapi, ...). However, I'm not sure if this is feasible for you, as most of your videos are shorter than 30 minutes. In that case, I would be more than happy to see at least a third-party implementation and deployment.
Great video once again Hamed! Thank you for your time. One thing you didn't explain and could be nice to know is what if I have multiple databases to connect to ? What is the correct way to do that ? Right now I have 2 clients in the client.ts named differently is that the way to go?
appreciate to working so hard for your colleagues by continuously producing content. 💐 Hamed, I would be grateful if you could make a tutorial about Redux Toolkit. 🙏🏻
@hamedbahram I want a package for both of state management and fetching That's why Redux Toolkit was suggested to me. I also heard about Zustand, but I don't know if it has fetching or not!
@@samanehghaempanah128 redux is dead. It's not used anymore. There are better tools that do the same thing in a more efficient way with less boilerplate code. and yes zustand supports async operations such as data fetching.
@@hamedbahram Thank you for your explanation I will definitely take the time to learn zustand. But now I am involved in a project that uses Redux toolkit And I can't change the method. :(
brother I recently found out that a new version of turborepo---- 2.0 has been released. what is the possibility that you make a second part of this video of turborepo with prisma but with the new updates.... Do you see it viable?
I can create a video about how to migrate to the new version. You can migrate to the new version by running `npx @turbo/codemod migrate`. It's super straight forward.
@@hamedbahram I did NOT know that command, I will have to grab your repository where you installed prisma and see if it works for me. I'll tell you that I used for a new project this command npx create-turbo@latest --example with-prisma but I have NOT been able to connect with prisma, many errors come out... I don't know what I'm doing wrong after declaring the schema and the .env and the connection to export prisma as you explain in your video.... that's why my request is to see if you dare to make another video with the new version that came out recently.... thank you very much in advance
Very detailed and insightful video + the soothing voice of yours . Can you do one on setting up a docker in turborepo as well, that'd be awesome.
Glad it was helpful!
Great video Hamed. I have a question around deployment though. I am deploying the apps in my turborepo on Vercel. However, where do I configure the production database URL on Vercel? I am not deploying any of the packages on Vercel, just the apps.
Mr Bahram, did you try to share the Next Auth server side session and all the project can open and read the encrypted session? all projects are in a same site, thank you for all you efforts
That's an interesting idea, I'll look into it.
Thanks for the video, that's what I was looking for....
Now I wonder .... when uploading my projects to Vercel how to do it ? using turborepo and the additional projects to place them in subdomain ???? I don't know if you understand my question... do you have any video that talks about this topic?
Greetings Jose Grillo from Venezuela
When you deploy a turbo repo in Vercel it allows you to pick which one of the app/packages you want to deploy. I'll have a video coming up on this.
@@hamedbahram waooo, excellent, thank you very much... I'll be very pending... many blessings and greetings from Venezuela.
NOTE: friend if you could also referncia how to work with GIT from turborepo.... are made all the git from the main root? or each project separately is made to GIT version control?
or give some tips here I thank you ....
greetings from Venezuela
Yes you can use the git from the root since it's all one repo.
@@hamedbahram Gracias...
Great video Hamed.
Thanks 👍
Ur calming voice ❤
Thanks!
Agreed, your content is becoming my bedtime listening 😅
@@uixmat haha
@@uixmat 😅
Hello, I am a fan of your videos and I would like to ask if you are planning any videos about deploying TurboRepo to Vercel (maybe with a backend CMS and frontend Next app). TurboRepo is quite complicated for me, and I haven't found any videos about deployment and project setup with a CMS. Thanks.
Great suggestion! Did you mean a custom backend CMS?
I think a custom CMS would be best because if I have a tutorial for it, then there shouldn't be a problem with implementing some third-party options (Keystones, Strapi, ...). However, I'm not sure if this is feasible for you, as most of your videos are shorter than 30 minutes. In that case, I would be more than happy to see at least a third-party implementation and deployment.
Great video once again Hamed! Thank you for your time. One thing you didn't explain and could be nice to know is what if I have multiple databases to connect to ? What is the correct way to do that ? Right now I have 2 clients in the client.ts named differently is that the way to go?
Thank you! That's a good question, I would put them in two different workspace to separate the schemas and db access functions.
appreciate to working so hard for your colleagues by continuously producing content. 💐
Hamed, I would be grateful if you could make a tutorial about Redux Toolkit. 🙏🏻
Anytime! For global state management I recommend Zustand, see this video → th-cam.com/video/BxohoXjbhKc/w-d-xo.html
@hamedbahram
I want a package for both of state management and fetching
That's why Redux Toolkit was suggested to me.
I also heard about Zustand, but I don't know if it has fetching or not!
@@samanehghaempanah128 redux is dead. It's not used anymore. There are better tools that do the same thing in a more efficient way with less boilerplate code. and yes zustand supports async operations such as data fetching.
@@hamedbahram
Thank you for your explanation
I will definitely take the time to learn zustand.
But now I am involved in a project that uses Redux toolkit
And I can't change the method. :(
how do you normally update all packages in the entire turborepo?
`pnpm up --latest`
@@hamedbahram Do you navigate to every sub directory to run this command?
Great Video, would be nice if you could make with nuxt/next + prisma + supabase (local dev) :)
Great suggestion!
Thank you!!!
You're welcome!
Do a video about a setup with drizzle nextjs shadcn tailwind nestjs hook form and server actions in a turborepo deployed to docker containers
That would be a good one, thanks for the suggestion.
Awesome
Thank you!
How can I reach You Sir??
Go to the contact section of my site :)
can u create same for shad cn, please
Of course, I have that coming up soon.
brother I recently found out that a new version of turborepo---- 2.0 has been released.
what is the possibility that you make a second part of this video of turborepo with prisma but with the new updates....
Do you see it viable?
I can create a video about how to migrate to the new version. You can migrate to the new version by running `npx @turbo/codemod migrate`. It's super straight forward.
@@hamedbahram I did NOT know that command, I will have to grab your repository where you installed prisma and see if it works for me.
I'll tell you that I used for a new project this command
npx create-turbo@latest --example with-prisma
but I have NOT been able to connect with prisma, many errors come out... I don't know what I'm doing wrong after declaring the schema and the .env and the connection to export prisma as you explain in your video.... that's why my request is to see if you dare to make another video with the new version that came out recently.... thank you very much in advance