- Notifications
You must be signed in to change notification settings - Fork1
GraphQLGuide/mock-external-schema
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Mock any GraphQL schema. All you need is aschema.json or the URL of a GraphQL server that has introspection enabled.
Steps:
- Update the schema to the one you want by either:
- Replacing
schema.json, or - Replacing
https://api.spacex.land/graphqlinpackage.jsonand runningnpm run update-schema
- Replacing
- Running
npm start - Openinglocalhost:4000 and querying with Playground
Mocking docs:https://www.apollographql.com/docs/apollo-server/testing/mocking/
About
Use Apollo Server to mock an external schema
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
