Тёмный

NestJS + Prisma Deep Dive 

Michael Guay
Подписаться 18 тыс.
Просмотров 20 тыс.
50% 1

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

Наука

Опубликовано:

 

12 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@mguay
@mguay 8 месяцев назад
Get my highly rated NestJS Microservices Course at a discount: michaelguay.dev/udemy/
@JP12313
@JP12313 8 месяцев назад
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 7 месяцев назад
great video man! I needed a quick refresher and this was perfect
@badrinath8958
@badrinath8958 8 месяцев назад
Thank you so much for making videos like this. Got prisma usage compared to TypeORM. Keep going on creating new videos
@MightyKingKala
@MightyKingKala 8 месяцев назад
thank you bro, I love your channel and content , I'm new to nestjs and your videos help me so much! ❤❤❤
@nazartkach3866
@nazartkach3866 3 месяца назад
how you would add additional validation with dtos from Prisma? or custom error messages?
@nolw.7805
@nolw.7805 8 месяцев назад
Thank you, Michael, for your awesome work!I didn't work with SQL databases, and for me, this video is so useful! Thanks!
@mr_ehmed
@mr_ehmed 8 месяцев назад
yeah
@bozidarbralic1937
@bozidarbralic1937 5 месяцев назад
Great stuff, will buy both of your Udemy courses, ran into you randomly. Great pacing, excellent explaining absolutely love it.
@am0nr2youtube28
@am0nr2youtube28 7 месяцев назад
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.
@zzxdimon
@zzxdimon Месяц назад
Lovely video. Thanks for your work!
@ThinhLe-pg8di
@ThinhLe-pg8di 8 месяцев назад
great content, keep it up man!
@indrajeetnikam5301
@indrajeetnikam5301 3 месяца назад
Thanks for the awesome tutorial, appreciate it ☺
@kareemlateefyomi8690
@kareemlateefyomi8690 7 месяцев назад
Great video. Really good 👍
@testaccount9420
@testaccount9420 2 месяца назад
Nice explanation ❤
@samulivalimaki
@samulivalimaki 7 месяцев назад
YOU-ARE-AWESOME! 🎉
@BilalDjaghout-b3f
@BilalDjaghout-b3f 2 дня назад
awesome video, I love your content
@104antony
@104antony 8 месяцев назад
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?
@neerajsinghtangariya2587
@neerajsinghtangariya2587 6 месяцев назад
Really very nice tutorial about primsa and nestjs
@luizadamchuk4558
@luizadamchuk4558 8 месяцев назад
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!
@cafesmallhouse1751
@cafesmallhouse1751 8 месяцев назад
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?
@mdsajaldeowan1054
@mdsajaldeowan1054 4 месяца назад
Great thanks for the video. What about data validation ?
@blender_wiki
@blender_wiki 8 месяцев назад
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?
@AayushGupta-ec2id
@AayushGupta-ec2id 22 дня назад
helpful
@moestaxx286
@moestaxx286 8 месяцев назад
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.
@anesuchidziwo
@anesuchidziwo 8 месяцев назад
how to handle the prisma migrate when using a docker compose to launch the db, apps and the migration for the database?
@moeinsamani1467
@moeinsamani1467 4 месяца назад
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"
@williamjayinclino7271
@williamjayinclino7271 5 месяцев назад
how can we add class validator for prisma using the generated inputs?
@kirrttiraj
@kirrttiraj 8 месяцев назад
prisma is not compatible with the edge function. How do you tend to solve thiis?
@nothing9648
@nothing9648 5 месяцев назад
can you do a version with graphql thnks
@saqomelqon1618
@saqomelqon1618 4 месяца назад
Unfortunately this doesnt work in a monorepo of nest.js
@user-ld1de1mc4h
@user-ld1de1mc4h 8 месяцев назад
Are you streaming from the basement? :D
@mguay
@mguay 8 месяцев назад
Oh yes!
@user-eu8pu2ir5b
@user-eu8pu2ir5b 2 месяца назад
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 8 месяцев назад
Its awesome, plz make a course with Nest and prisma
Далее
ЛУЧШИЙ ПОДАРОК  @mozabrick #shorts
00:40
Просмотров 450 тыс.
Best father #shorts by Secret Vlog
00:18
Просмотров 3,2 млн
Prisma - лучшая ORM для Node.js
23:45
Просмотров 28 тыс.
NestJS & Prisma Tutorial
1:43:56
Просмотров 7 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 335 тыс.
Nest.js Metrics - Prometheus & Grafana Tutorial
22:42
899$ vs 360$ which one will you choose ? #iphone #poco
0:18
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 339 тыс.