Go to file
2023-06-04 15:41:39 +02:00
.github/workflows chore: switch to npm 2023-04-18 12:44:34 +02:00
.wundergraph chore: upgrade sdk 2022-12-31 13:20:11 +01:00
test chore: add tests 2023-02-27 13:36:40 +01:00
.gitignore feat: init 2022-10-28 18:12:05 +05:30
jest.config.js chore: add tests 2023-02-27 13:36:40 +01:00
LICENSE chore: add license 2022-10-28 18:18:57 +05:30
package-lock.json chore: upgrade sdk 2023-06-04 15:41:39 +02:00
package.json chore: upgrade sdk 2023-06-04 15:41:39 +02:00
README.md chore: add badge 2023-04-18 12:46:30 +02:00
tsconfig.json feat: init 2022-10-28 18:12:05 +05:30

WunderGraph Cloud Starter

CI

A simple starter that consumes the GraphQL SpaceX API

Getting started locally

npm i && npm start

Fetch all SpaceX Dragons from your WunderGraph.

curl -X GET http://localhost:9991/operations/Dragons

Run tests

npm test

Deploy to WunderGraph Cloud

  1. Fork this repo
  2. Sign in to WunderGraph Cloud
  3. Create a new project
  4. Import the forked repo
  5. 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

  1. Make changes to the main branch, e.g. change the query in .wundergraph/operations/Dragons.graphql
  2. Commit and push the changes

See your changes live in less than a minute.


Learn More

Read the Docs.