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

Описание к видео Best way to create GraphQL API ?? | NestJS GraphQL Tutorial

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

Комментарии

Информация по комментариям в разработке