NestJS GraphQL Code First Tutorial 2022 ✅

Veröffentlicht am: 21 Januar 2022
auf dem Kanal: EPIC Programming
2,105
53

Do you want to learn how to build a NestJS GraphQL Apollo Server app in Node JS ?

We will create a simple graphql nestjs apollo server code first example app with queries, mutations and subscriptions in TypeScript.

The two technologies integrate perfectly, but we have to make some configurations to be able to use the power both!

Pipes, Interceptors, Guards and all the concepts learned in the first video of this series are also valid and you can use them.

We will implement a Date scalar type and an enum.

GraphQL is a powerful query language for APIs and a runtime for fulfilling those queries with your existing data. It's an elegant approach that solves many problems typically found with REST APIs.

Nest JS is a framework for building efficient, scalable Node.js server-side applications.

It uses progressive JavaScript and fully supports TypeScript.

—--------------------------------------------------
Timestamps:
00:00 - Project Setup
00:52 - Create App Resolver
01:04 - Query
01:30 - ObjectType
03:35 - Questions Service
04:23 - DateTime Scalar
06:03 - Mutation
06:35 - InputType
07:00 - Subscriptions
08:06 - Enums
-------------------------------------------------

Resources:

Commands:
npm i @nestjs/graphql graphql@^15 apollo-server-express apollo-server-core graphql-subscriptions // Install the required packages

GraphQL vs REST: https://www.howtographql.com/basics/1...


Auf dieser Seite können Sie das Online-Video NestJS GraphQL Code First Tutorial 2022 ✅ mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer EPIC Programming 21 Januar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,105 Mal angesehen und es wurde von 53 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!