Skip to main content
CF

NestJS GraphQL - Code-first approach

1h 55m 15s
English
Paid

Learn how to build a full GraphQL app with NestJS. This course shows you the code-first style in a clear and direct way. You will write code step by step and understand how each part works.

What You Will Learn

You start with the basics of GraphQL and then move into the code-first flow in NestJS. The lessons stay focused and build on each other. You see how real apps use types, resolvers, and other core tools.

  • Write each feature with us in small, clear steps
  • Watch 23 short videos with subtitles
  • Build a working GraphQL app in NestJS
  • Use key GraphQL pieces like types, queries, and mutations
  • Work with subscriptions to send live updates
  • Earn an official NestJS GraphQL Code-first certificate

Course Guides

You learn from Kamil Mysliwiec, the creator of NestJS, and Mark Pieszak from the core team. They explain each idea in a simple way. You see how to apply these ideas to real code.

About the Author: Learn NestJS

Learn NestJS thumbnail

Learn NestJS is a paid course platform focused entirely on the NestJS Node.js framework — the modular, decorator-driven server framework most popular among teams that want Angular-style architecture on the backend. The platform is run by NestJS core-team-adjacent instructors and covers the framework end-to-end.

The CourseFlix listing carries seven Learn NestJS courses: NestJS Fundamentals, NestJS Authentication and Authorization, NestJS Microservices, NestJS Advanced Concepts, NestJS Architecture and Advanced Patterns, plus two GraphQL tracks (schema-first and code-first). Material is paid and aimed at Node.js developers building production back-end services with NestJS.

Watch Online 24 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 24 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: GraphQL Code-first Course Overview
All Course Lessons (24)
#Lesson TitleDurationAccess
1
GraphQL Code-first Course Overview Demo
01:25
2
Introduction to GraphQL with NestJS
05:05
3
Code First vs Schema First
01:08
4
Creating our first GraphQL Application
05:19
5
Prerequisite: Install Insomnia
00:30
6
Introduction to Resolvers and Object Types
06:47
7
GraphQL Schemas, Types, and Scalars
04:03
8
More on Types
03:10
9
Passing Arguments: Returning a Coffee by ID
03:03
10
Manipulating Data with Mutations
05:16
11
Using GraphQL Variables
01:27
12
Creating a Service
03:19
13
Connecting to a Database with TypeOrm
05:31
14
Using Repository to Access Database
03:21
15
Adding Update and Delete Mutations
04:45
16
Auto-validate Input Data
02:26
17
Adding Relation to two Entities
08:06
18
Using Field Resolvers
06:31
19
Understanding Custom Scalar Types
06:44
20
Using GraphQL Interfaces
08:37
21
Unions and Enums
05:58
22
Field Middleware
04:41
23
Real-time Updates with Subscriptions
07:32
24
Batching and Caching with Data Loader
10:31
Unlock unlimited learning

Get instant access to all 23 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

Frequently asked questions

What prerequisites should I have before taking this course?
Before enrolling in the course, you should have a basic understanding of JavaScript and TypeScript, as these are the primary languages used in NestJS. Familiarity with Node.js and fundamental concepts of web development will also be beneficial. Additionally, you need to install Insomnia, a tool used for interacting with GraphQL APIs, as covered in the course's prerequisite lesson.
What will I build by the end of this course?
By the end of the course, you will have built a working GraphQL application using the NestJS framework. The project will include the implementation of types, queries, mutations, and subscriptions, providing real-time updates. You will also learn to connect to a database using TypeOrm and handle data manipulation through services and repositories.
Who is the target audience for this course?
This course is designed for developers who are interested in building applications with GraphQL using NestJS. It is suitable for those who have some experience with JavaScript or TypeScript and wish to deepen their understanding of how to implement GraphQL in a code-first approach. It caters to both intermediate and advanced developers looking to expand their skill set in modern web application development.
What specific tools and platforms are covered in the course?
The course specifically covers the NestJS framework and its integration with GraphQL. You will learn to use TypeOrm for database connectivity and Insomnia for testing GraphQL APIs. The course also explores the use of Data Loader for batching and caching queries, enhancing the efficiency of your application.
How does the content of this course compare to other NestJS courses?
This course focuses on the code-first approach to building GraphQL applications with NestJS, which differs from the schema-first approach covered in some other courses. It provides a step-by-step guide to implementing key GraphQL features like types, queries, mutations, and subscriptions, and includes lessons on advanced topics such as custom scalar types and field middleware.
What topics are not covered in this course?
The course does not cover the schema-first approach to building GraphQL applications, as it focuses exclusively on the code-first methodology. It also does not delve into frontend development or connecting GraphQL with different client-side frameworks, as the emphasis is on server-side application development using NestJS.
What time commitment is required to complete the course?
The course consists of 24 lessons with a total runtime of approximately 1 hour and 55 minutes. This includes 23 short videos with subtitles that guide you through the process of building a GraphQL app in NestJS. Depending on your pace and familiarity with the concepts, you may need additional time for hands-on practice and exploration of the exercises.