Using Prisma with Turborepo

Поділитися
Вставка

КОМЕНТАРІ • 42

  • @haritpatel5001
    @haritpatel5001 Місяць тому +1

    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.

  • @imkir4n
    @imkir4n Місяць тому

    Great video Hamed.

  • @raphauy
    @raphauy 2 місяці тому +1

    Thank you!!!

  • @shahryartavakkoli
    @shahryartavakkoli 2 місяці тому +2

    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

    • @hamedbahram
      @hamedbahram  2 місяці тому +3

      That's an interesting idea, I'll look into it.

  • @patolorde
    @patolorde 2 місяці тому +1

    Awesome

  • @jfhandfield
    @jfhandfield 2 місяці тому +1

    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?

    • @hamedbahram
      @hamedbahram  2 місяці тому +1

      Thank you! That's a good question, I would put them in two different workspace to separate the schemas and db access functions.

  • @waltervanwoudenberg6876
    @waltervanwoudenberg6876 2 місяці тому +1

    Do a video about a setup with drizzle nextjs shadcn tailwind nestjs hook form and server actions in a turborepo deployed to docker containers

    • @hamedbahram
      @hamedbahram  2 місяці тому

      That would be a good one, thanks for the suggestion.

  • @mohammadabbas1623
    @mohammadabbas1623 2 місяці тому +3

    Ur calming voice ❤

  • @Grishopping
    @Grishopping Місяць тому +1

    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

    • @hamedbahram
      @hamedbahram  Місяць тому +2

      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.

    • @Grishopping
      @Grishopping Місяць тому

      @@hamedbahram waooo, excellent, thank you very much... I'll be very pending... many blessings and greetings from Venezuela.

  • @yunyang6267
    @yunyang6267 2 місяці тому +1

    how do you normally update all packages in the entire turborepo?

    • @hamedbahram
      @hamedbahram  Місяць тому +1

      `pnpm up --latest`

    • @yunyang6267
      @yunyang6267 Місяць тому

      @@hamedbahram Do you navigate to every sub directory to run this command?

  • @Grishopping
    @Grishopping Місяць тому +1

    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

    • @hamedbahram
      @hamedbahram  Місяць тому +2

      Yes you can use the git from the root since it's all one repo.

    • @Grishopping
      @Grishopping Місяць тому

      @@hamedbahram Gracias...

  • @Gangbuster74
    @Gangbuster74 Місяць тому +2

    can u create same for shad cn, please

    • @hamedbahram
      @hamedbahram  Місяць тому +1

      Of course, I have that coming up soon.

  • @samanehghaempanah128
    @samanehghaempanah128 2 місяці тому

    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
      @hamedbahram  2 місяці тому +1

      Anytime! For global state management I recommend Zustand, see this video → ua-cam.com/video/BxohoXjbhKc/v-deo.html

    • @samanehghaempanah128
      @samanehghaempanah128 2 місяці тому

      @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!

    • @hamedbahram
      @hamedbahram  2 місяці тому

      @@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.

    • @samanehghaempanah128
      @samanehghaempanah128 2 місяці тому

      @@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. :(

  • @SyedHaroon786
    @SyedHaroon786 8 днів тому

    Great Video, would be nice if you could make with nuxt/next + prisma + supabase (local dev) :)

  • @ermiasgetnet2283
    @ermiasgetnet2283 2 місяці тому +2

    How can I reach You Sir??

    • @hamedbahram
      @hamedbahram  2 місяці тому

      Go to the contact section of my site :)

  • @Grishopping
    @Grishopping 27 днів тому

    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?

    • @hamedbahram
      @hamedbahram  27 днів тому +2

      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.

    • @Grishopping
      @Grishopping 27 днів тому

      @@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