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...
На этой странице сайта вы можете посмотреть видео онлайн NestJS GraphQL Code First Tutorial 2022 ✅ длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь EPIC Programming 21 Январь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,105 раз и оно понравилось 53 зрителям. Приятного просмотра!