A simple starter that consumes the GraphQL SpaceX API
npm i && npm start
Fetch all SpaceX Dragons from your WunderGraph.
curl -X GET https://localhost:9991/operations/Dragons
npm test
- Fork this repo
- Sign in to WunderGraph Cloud
- Create a new project
- Import the forked repo
- Deploy the project
Try it out (replace YOUR_PROJECT_NAME
with your project name):
curl -X GET https://{YOUR_PROJECT_NAME}.wundergraph.dev/operations/Dragons
- Make changes to the
main
branch, e.g. change the query in.wundergraph/operations/Dragons.graphql
- Commit and push the changes
See your changes live in less than a minute.
Read the Docs.