GraphQL Apollo Server with Node.js, MongoDB - GraphQL API

RapidDev Pro, Full Stack Developer & Tech Entrepreneur

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
40 Lessons (4h 21m)
    • 1. Introduction

      1:12
    • 2. Tools and Installation

      1:26
    • 3. Promise vs Async Await

      13:33
    • 4. Spread Operator

      9:04
    • 5. Object and Array Destructuring

      6:03
    • 6. What is GraphQL

      3:20
    • 7. GraphQL Schema Basics

      7:44
    • 8. GraphQL API Overview

      1:43
    • 9. Setup GraphQL Server

      9:58
    • 10. GraphQL Playground Overview

      3:34
    • 11. GraphQL Resolvers and Type Modifier

      3:47
    • 12. User and Task Schema/TypeDefs

      2:32
    • 13. Task List Query Resolver

      6:47
    • 14. Field Level Resolver

      7:35
    • 15. Get Task By Id Query

      4:28
    • 16. Get Users List and Get User By Id Query

      5:25
    • 17. Create Task Mutation

      5:19
    • 18. Modularize Resolvers

      4:36
    • 19. Modularize Schema ( Schema Stiching )

      8:54
    • 20. MongoDB Connectivity

      4:29
    • 21. User and Task Mongoose Schema

      3:47
    • 22. Signup Mutation

      13:06
    • 23. Custom Date Scalar Type

      3:07
    • 24. Authentication: Login Mutation

      9:31
    • 25. Resolver Context

      4:33
    • 26. Verify Token and Set Auth Context

      10:20
    • 27. Combine Resolver/ Resolver Middleware

      4:01
    • 28. UPDATING: Get User By Id

      6:39
    • 29. UPDATING: Create Task Mutation

      6:51
    • 30. UPDATING: List Task and Get Task By Id

      15:23
    • 31. Update/Modify Task Mutation

      4:32
    • 32. Delete Task Mutation

      4:15
    • 33. Offset Limit Pagination ( Task List )

      2:48
    • 34. Offset limit Pagination Vs Cursor Based Pagination

      5:26
    • 35. Cursor Based Pagination ( Task List )

      16:18
    • 36. Data Loaders - What and Why

      8:55
    • 37. Implementing Data Loaders

      15:36
    • 38. User Subscription

      9:42
    • 39. Format GraphQL Error Response and Query Variables Overview

      4:08
    • 40. SOURCE CODE

      0:24

About This Class

Build GraphQL API with Apollo Server in Node.js, Express, and MongoDB Database.

GraphQL API Server with Apollo, Node.js, MongoDB. Jwt Authentication, Cursor Pagination, DB Query Batching & Caching


ϟ What is GraphQL?

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.

♦ Ask for what you need, get exactly that.

♦ Get many resources in a single request.

♦ Describe what’s possible with a type system.

♦ Move faster with powerful developer tools.

♦ Evolve your API without versions

♦ Bring your own data and code

ϟ Who is using GraphQL?

♦ Facebook, Github, Pinterest, Shopify and more

ϟ What is Apollo Server ?

Apollo Server is the best way to quickly build a production-ready, self-documenting API for GraphQL clients, using data from any source.

It's open-source and works great as a stand-alone server, an addon to an existing Node.js HTTP server, or in "serverless" environments.

Apollo Server implements a spec-compliant GraphQL server which can be queried from any GraphQL client, including Apollo Client, enabling:

An easy start, so front-end and back-end developers can start fetching data quickly.
Incremental adoption, allowing advanced features to be added when they're needed.
Universal compatibility with any data source, any build tool and any GraphQL client.
Production readiness, and what you build in development works great in production.

You will learn the following things in the course:

♦ Build GraphQL API with Apollo Server in Node.js, Express and MongoDB.

♦ Add JWT Authentication in Apollo GraphQL API.

♦ Implement Faster pagination with Cursor Based Pagination Strategy. Will also implement offset limit pagination and will compare them.

♦ Add Data Loaders to return data faster from server with batching and caching your database query.

♦ Feel Confident with GraphQL Concepts such as Query, Mutation and Subscription.

♦ Best practices in GraphQL and Build Scalable API with proper schema design.

♦ Efficient and scalable GraphQL Schema design strategies.

♦ Learn to handle deep nested GraphQL Query.

♦ Learn to efficiently use GraphQL Playground tool.

♦ Get good understanding of schemas, "types" in GraphQL.

♦ Learn to setup real time communication between client and server with subscription.

♦ Learn to manage authentication context in GraphQL.

♦ Secure/Protect various query and mutation with Graphql Resolver middleware and auth state from context.

♦ Define relationships between various object types.

♦ and much more.

Who this course is for:

  • Developers looking to learn and master GraphQL and build GraphQL API in Nodejs with MongoDB