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