Build a GraphQL API with Node.js & TypeScript | JSONPlaceholder Example (#02) | 🟢 Beginner Level
Rowadz
0:00 / 0:00
Build a GraphQL API with Node.js & TypeScript | JSONPlaceholder Example (#02) | 🟢 Beginner Level
1 700 просмотров · 2 года назад
Rowadz
22,7 тыс. подписчиков
1 700 просмотров · 2 года назад
In this video, we build a GraphQL API using Node.js and TypeScript, structured around the JSONPlaceholder API.
We create types, resolvers, handle nested queries, and explore real-world GraphQL patterns like resolver chains and the N+1 query problem.
📂 Code Repo:
https://github.com/Rowadz/graphql-yt
📺 Playlist:
• GraphQL
🌐 API Used:
https://jsonplaceholder.typicode.com/
⏱️ Timestamps:
00:00 Introduction and creating the code repository
03:24 Hello world GraphQL example
08:11 Adding Object type and creating a resolver for it
09:53 Nested resolvers
11:35 Creating types from the JSONPlaceholder API
14:19 Accept an argument and query the API
18:48 Resolvers chain and cyclic references
22:18 Creating a reference to another type and a resolver for it
26:22 Creating another cyclic reference
30:00 N + 1 query problem
#graphql #graphqlapi #graphqlyoga