Skip to content

juhanakristian/react-graphql-msw-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a example of using Mock Service Worker to mock a GraphQL API in a React application.

Getting Started

First, run the development server with mocking enabled:

API_MOCKING=enabled npm start

Open http://localhost:3000 with your browser to see the result.

The mocking is defined in mocks/handlers.js

About

A example of using MSW to mock GraphQL API in a React application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published