Best way to create GraphQL API ?? | NestJS GraphQL Tutorial

preview_player
Показать описание
In this video I walk you through how to create a new GraphQL server and API from scratch utilizing the NestJS framework. This is in my opinion one of the best ways to do it!

We'll also cover multiple topics including database integration with TypeORM, queries and mutations, validation, as well as some techniques to help you develop these as FAST as possible!

00:00 - Intro
00:47 - What we'll build
02:23 - PART I: Generate project
04:23 - Generate Pets module
05:27 - Code first vs Schema first
07:29 - GraphQL Module import
07:47 - Creating Pet Object Type
11:24 - Writing our first query within the resolver
14:18 - Testing our new query
15:32 - PART II: Database Integration
18:00 - Pet database entity
20:02 - Update PetsService to use database
22:13 - createPet implementation
24:41 - Writing an Input Type
26:46 - PART III: Mutations
30:35 - Validation setup
34:21 - Implement findOne query
37:28 - How to auto generate all the boilerplate
40:13 - Owner database entity
40:59 - Implementing Pet/Owner relationship
44:28 - Ability to add owner info along pet query
47:46 - Implementing query to get pet owner
52:19 - Conclusion
52:58 - Outro
Рекомендации по теме
Комментарии
Автор

00:00​ - Intro
00:47​ - What we'll build
02:23​ - PART I: Generate project
04:23​ - Generate Pets module
05:27​ - Code first vs Schema first
07:29​ - GraphQL Module import
07:47​ - Creating Pet Object Type
11:24​ - Writing our first query within the resolver
14:18​ - Testing our new query
15:32​ - PART II: Database Integration
18:00​ - Pet database entity
20:02​ - Update PetsService to use database
22:13​ - createPet implementation
24:41​ - Writing an Input Type
26:46​ - PART III: Mutations
30:35​ - Validation setup
34:21​ - Implement findOne query
37:28​ - How to auto generate all the boilerplate
40:13​ - Owner database entity
40:59​ - Implementing Pet/Owner relationship
44:28​ - Ability to add owner info along pet query
47:46​ - Implementing query to get pet owner
52:19​ - Conclusion
52:58​ - Outro

mariusespejo
Автор

Everything you need to know about Nest exists in your channel. Amazing tutorials. Thank you

abolfazljalildoost
Автор

Nice video like always, thank you !
For the guys who have this error with findOne(id), it doesn't work anymore, it's findOne({where: {id:id}}

MultiShokk
Автор

I was a bit put off by the length of the video because I really just needed to brush up a bit. But I'm glad I watched it in its entirety. Thanks a lot, very nicely explained, helped me a lot!

jimknopf
Автор

I'm glad it's comprehensive but on point with explanations.

fishr
Автор

Awesome as always! Loving the Nextjs / TypeOrm content

Holdino_
Автор

Your walkthroughs are gold, thank you sir!

PauloTheDev
Автор

Thanks, Bro. Your tutorial has made my life easier trying to figure out how to implement GraphQL with NestJs.

teachforkawthoolei
Автор

I just want to say, thank you so mush for curating this amazing video.

sandipbasnet
Автор

Hello Marius, Thank you very much for this great tutorial. The flow of the tutorial is so nice and easy to follow as well the way you introduce advanced scenario is really great. I admit this is the number one tutorial I have ever seen on YouTube.

keyurpatel
Автор

Good content. Simple and straightforward but extremely accurate and informative. It's hard to find a guide to anything in programming without a lot of dodging these days.

luiseduardo
Автор

Just started watching the video and you already cleared up some things for me in my mind. Can't wait to check out more of your content.

OmnispectiveHub
Автор

calm and collected, very good course ! looking forward for a more detailed and complete Nestjs course (paid why not) :) great job

aghileslounis
Автор

I'm coming into NestJS new for a GraphQL solution, this is a great quickie to get things off the ground, appreciate it.

ethangTheReal
Автор

Great tutorial.
Pretty simple and chilly explenation of basics.

evige_ensom
Автор

Just finished. Loved your way of teaching, thanks brother

a.anvarbekov
Автор

That pretty much all I ever wanted and needed to get start modifying pre-made projects using this amazing tech

Thank you so much

rickycoates
Автор

This is a great tutorial. Thank you so much for sharing it. It's really helpful for me, and I think it's also suitable for other people who are looking for more details on working with GraphQL + Nestjs. Thank you

devcotv
Автор

amazing, still relevant in 2024! thanks mate!

ViciuSRO
Автор

no bullshit, only main content, amazing

Sebastian-Wilder-
join shbcf.ru