NestJS + Prisma Deep Dive

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • In this video, we look at using the popular ORM Prisma with NestJS to build CRUD APIs, execute migrations, use relations & more.
    GitHub Repo: github.com/mguay22/nestjs-prisma
    Prisma Docs: www.prisma.io/docs
    Docker Desktop: docs.docker.com/get-docker/
    MySQL Workbench: dev.mysql.com/downloads/workb...
    Get my highly rated NestJS Microservices Course at a discount: michaelguay.dev/udemy/
    Timestamps:
    00:00:00 Introduction
    00:01:11 Setup
    00:07:19 Models
    00:17:18 Migrations
    00:20:40 CRUD
    00:35:00 Relations
  • Věda a technologie

Komentáře • 38

  • @mguay
    @mguay  Před 9 měsíci +6

    Get my highly rated NestJS Microservices Course at a discount: michaelguay.dev/udemy/

    • @JP12313
      @JP12313 Před 9 měsíci

      Excellent course! Im currently on the rabbitmq section
      Could you add it as a section to the course?
      Are you planning to add a section on sockets?

  • @AliAliOxenFree
    @AliAliOxenFree Před 8 měsíci +4

    great video man! I needed a quick refresher and this was perfect

  • @badrinath8958
    @badrinath8958 Před 9 měsíci +1

    Thank you so much for making videos like this. Got prisma usage compared to TypeORM. Keep going on creating new videos

  • @MightyKingKala
    @MightyKingKala Před 9 měsíci +2

    thank you bro, I love your channel and content , I'm new to nestjs and your videos help me so much! ❤❤❤

  • @am0nr2youtube28
    @am0nr2youtube28 Před 8 měsíci +1

    Michael, you are amaizing. I have finished your microservices udemy course and gave 5 stars to it. Guys, this guy is the best in terms of deep dive in any topics reletaed to Nestjs.

  • @bozidarbralic1937
    @bozidarbralic1937 Před 5 měsíci

    Great stuff, will buy both of your Udemy courses, ran into you randomly. Great pacing, excellent explaining absolutely love it.

  • @nolw.7805
    @nolw.7805 Před 9 měsíci

    Thank you, Michael, for your awesome work!I didn't work with SQL databases, and for me, this video is so useful! Thanks!

  • @zzxdimon
    @zzxdimon Před 2 měsíci

    Lovely video. Thanks for your work!

  • @ThinhLe-pg8di
    @ThinhLe-pg8di Před 9 měsíci

    great content, keep it up man!

  • @nazartkach3866
    @nazartkach3866 Před 4 měsíci +3

    how you would add additional validation with dtos from Prisma? or custom error messages?

  • @indrajeetnikam5301
    @indrajeetnikam5301 Před 4 měsíci

    Thanks for the awesome tutorial, appreciate it ☺

  • @kareemlateefyomi8690
    @kareemlateefyomi8690 Před 7 měsíci

    Great video. Really good 👍

  • @104antony
    @104antony Před 8 měsíci

    Great video. I have already implemented several project with Prisma but this video allowed me to clarify some aspect. Thanks you. By any chance, are you going to make a video on how to deploy a project with Prism on AWS?

  • @BilalDjaghout-b3f
    @BilalDjaghout-b3f Před 18 dny

    awesome video, I love your content

  • @testaccount9420
    @testaccount9420 Před 2 měsíci

    Nice explanation ❤

  • @luizadamchuk4558
    @luizadamchuk4558 Před 8 měsíci

    Your video was really good; I was able to implement it in my test repository, and it turned out great. Hey, I'd like to request if it's possible, could you create a video about handling application logs? For instance, setting up Winston in NestJS, saving logs to a physical file in a pod, and then forwarding those logs to something like Elasticsearch, and finally, reading the logs. I think it could be really cool.
    Anyway, thank you very much for your videos; they are very helpful and teach me a lot. Thanks!

  • @neerajsinghtangariya2587
    @neerajsinghtangariya2587 Před 6 měsíci

    Really very nice tutorial about primsa and nestjs

  • @samulivalimaki
    @samulivalimaki Před 7 měsíci

    YOU-ARE-AWESOME! 🎉

  • @mdsajaldeowan1054
    @mdsajaldeowan1054 Před 5 měsíci +1

    Great thanks for the video.
    What about data validation ?

  • @cafesmallhouse1751
    @cafesmallhouse1751 Před 9 měsíci

    so awesome videos! thanks a lot. i'd like to know something about code convention. i really like making dash-case to code react project. for example app.component.tsx? before i watched your video about react and nestjs, it was like dash-case. usually do you use dash-case in react project?

  • @blender_wiki
    @blender_wiki Před 9 měsíci

    Great complement on you course in Udemy 🙏🙏🙏
    I am curious to knows your opinion on what's the most efficient way to implement nest.js+prisma+graphQL?
    Maybe a future video to add on Udemy course?

  • @williamjayinclino7271
    @williamjayinclino7271 Před 6 měsíci

    how can we add class validator for prisma using the generated inputs?

  • @moestaxx286
    @moestaxx286 Před 8 měsíci

    hey man. i wanted to dive into nestjs but i seen some stuff that said you should know some angular before learning, so you think that’s true? i know react but i am not familiar with angular at all.

  • @kirrttiraj
    @kirrttiraj Před 8 měsíci

    prisma is not compatible with the edge function. How do you tend to solve thiis?

  • @nothing9648
    @nothing9648 Před 5 měsíci

    can you do a version with graphql thnks

  • @UCmdrhccjVM95UidL5idZw2Q

    Best!!!

  • @anesuchidziwo
    @anesuchidziwo Před 9 měsíci +1

    how to handle the prisma migrate when using a docker compose to launch the db, apps and the migration for the database?

    • @moeinsamani1467
      @moeinsamani1467 Před 5 měsíci

      you need to write script for this. whenever you want to migrate, you need to down your docker compose, and then up it and make migration. In this case you need 4 scripts. 1- db:dev:rm:"docker compose rm -s -v -f" 2- "db:dev:up":"docker compose up -d" 3-prisma:dev:deploy:"prisma deploy" 4:db:dev:restart:"npm run db:dev:rm && np run db:dev:up && sleep 1 && npm run prism:dev:deploy"

  • @saqomelqon1618
    @saqomelqon1618 Před 5 měsíci

    Unfortunately this doesnt work in a monorepo of nest.js

  • @AayushGupta-ec2id
    @AayushGupta-ec2id Před měsícem

    helpful

  • @user-ld1de1mc4h
    @user-ld1de1mc4h Před 8 měsíci

    Are you streaming from the basement? :D

  • @user-eu8pu2ir5b
    @user-eu8pu2ir5b Před 3 měsíci

    How is this a "Deep Dive" while the migration is not being done safely! It's not recommended to migrate like this its not safe and it may cause data loose!

  • @williamcao5139
    @williamcao5139 Před 9 měsíci

    Its awesome, plz make a course with Nest and prisma