When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

SkillShare logo

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

Unlock creativity with Skillshare! Learn acrylic painting, AI writing, graphic design, and photography.

     0 |
  • Reviews ( 0 )
Free

This Course Includes

  • iconskillshare
  • icon0 (0 reviews )
  • icon4 hours 20 minutes
  • iconenglish
  • iconOnline - Self Paced
  • iconcourse
  • iconSkillShare

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

Introduction

Tools and Installation

Promise vs Async Await

Spread Operator

Object and Array Destructuring

What is GraphQL

GraphQL Schema Basics

GraphQL API Overview

Setup GraphQL Server

GraphQL Playground Overview

GraphQL Resolvers and Type Modifier

User and Task Schema/TypeDefs

Task List Query Resolver

Field Level Resolver

Get Task By Id Query

Get Users List and Get User By Id Query

Create Task Mutation

Modularize Resolvers

Modularize Schema ( Schema Stiching )

MongoDB Connectivity

User and Task Mongoose Schema

Signup Mutation

Custom Date Scalar Type

Authentication: Login Mutation

Resolver Context

Verify Token and Set Auth Context

Combine Resolver/ Resolver Middleware

UPDATING: Get User By Id

UPDATING: Create Task Mutation

UPDATING: List Task and Get Task By Id

Update/Modify Task Mutation

Delete Task Mutation

Offset Limit Pagination ( Task List )

Offset limit Pagination Vs Cursor Based Pagination

Cursor Based Pagination ( Task List )

Data Loaders - What and Why

Implementing Data Loaders

User Subscription

Format GraphQL Error Response and Query Variables Overview

SOURCE CODE

What You Will Learn?

  • 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:.