Examples from the "Section 28: Working with GraphQL" of the course "NodeJS - The Complete Guide (MVC, REST APIs, GraphQL, Deno)" by Academind (Maximilian Schwarzmüller).
Section 28 covered:
- What is GraphQL?
- Understanding the Setup & Writing our First Query
- Defining a Mutation Schema
- Adding a Mutation Resolver & GraphiQL
- Adding Input Validation
- Handling Errors
- Connecting the Frontend to the GraphQL API
- Adding a Login Query & a Resolver
- Adding Login Functionality
- Adding a Create Post Mutation
- Extracting User Data From the Auth Token
- Sending the "Create Post" Query
- Fixing a Bug & Adding New Posts Correctly
- Adding a "Get Post" Query & Resolver
- Sending "Create Post" and "Get Post" Queries
- Adding Pagination
- Uploading Images
- Fetching the imageUrl
- Viewing a Single Post
- Updating Posts
- Deleting Posts
- Adding Posts & Pagination
- Managing the User Status
- Using Variables
- Fixing a Pagination Bug
More info: https://www.udemy.com/course/nodejs-the-complete-guide/