bojidaryovchev / examples

Examples of Mock Service Worker usage with various frameworks and libraries.

Home Page:https://mswjs.io/examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage examples

Collection of usage examples of Mock Service Worker library.

Example structure

Usage examples have a consistent README structure, so it's easier to comprehend and cross-reference them.

Each example always has the following sections:

  1. "Getting started", a list of instructions to get this specific example running on your local machine.
  2. "Key points", highlights of the implementation necessary to achieve the example. Include exact file references and a brief explanation.

Full examples

Complete examples showcase Mock Service Worker integration on all levels: for development, unit, and E2E tests.

React

Angular

Scoped examples

Scoped examples illustrate the usage of Mock Service Worker with particular libraries or frameworks.

About

Examples of Mock Service Worker usage with various frameworks and libraries.

https://mswjs.io/examples


Languages

Language:JavaScript 57.0%Language:Shell 43.0%