illustration for Mock REST and GraphQL APIs with Mock Service Worker
pro

Mock REST and GraphQL APIs with Mock Service Worker

43m closed-captioning
·
24 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.7
60
people completed
Published a year ago
|
Updated a year ago

Controlling the network is the key to fast prototyping, bullet-proof tests, and efficient debugging.

Mocking the APIs you use gives you this kind of control but most methods in the client and server come up short.

That's where Mock Service Worker does it right.

With it you can intercept and take control of requests no matter where they're being made.

In this course, you will learn how to:

  • setup and your first request handler
  • mock complex flows like authentication
  • describe dynamic requests
  • respond with HTTP streams,
  • and use schema-first GraphQL mocking

After this course you'll be more than ready to bring MSW into your app and start mocking any kind of API you're using!

Course Content

43m • 24 lessons

    You might also like these resources:

    illustration for Designing GraphQL Schemas
    Nik Graf • 62m • Course

    Through exploration and comparison, you'll come away with actionable knowledge for designing and extending schemas.

    illustration for Build a Realtime Chat App with Remix and Supabase
    Jon Meyers • 43m • Course

    Build a blazing fast chat app with Remix and Supabase! This course covers everything you need, from database hosting to authentication and authorization, all with real-time updates

    illustration for Build a Node.js REST API with LoopBack
    Bram Borggreve・31m・Course