Skip to content

roertbb/mock-server-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create React App (GraphQL)

This repository illustrates how to use msw to mock a GraphQL API for development + tests in Create React App project. It uses msw to intercept requests to fake API and @mswjs/data to create fake database and store it's data in memory.

Running locally

$ npm start

Tests

$ npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published