Skip to content

laij84/apollo-mocked-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo MockedProvider Demo

TypeScript

About

This repo is a the demo code for how to use @apollo/client's MockedProvider to mock your graph so that you can build your frontend application, even if the graph is not ready yet.

The full article explaining how this is done can be found at here: https://medium.com/swlh/building-frontend-applications-by-mocking-your-entire-api-with-testing-tools-2f050359677f

Instructions

This project was bootstrapped with Create React App.

  1. Clone the repo
git clone https://github.com/laij84/apollo-mocked-provider.git
  1. Install dependencies

In the project directory, you can run:

yarn
  1. Start the application

In the project directory, you can run:

yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published