Go to file
starptech 6f778b4a3b test
2022-12-11 17:03:17 +01:00
.wundergraph test 2022-12-11 17:02:20 +01:00
.gitignore feat: init 2022-10-28 18:12:05 +05:30
LICENSE chore: add license 2022-10-28 18:18:57 +05:30
package-lock.json feat: update wundergraph sdk and make changes in wundergraph config 2022-12-07 17:35:00 +05:30
package.json feat: update wundergraph sdk and make changes in wundergraph config 2022-12-07 17:35:00 +05:30
README.md test 2022-12-11 17:03:17 +01:00
tsconfig.json feat: init 2022-10-28 18:12:05 +05:30

Simple starter for WunderGraph Cloud

1

A simple starter that consumes the GraphQL SpaceX API.

Getting started locally

npm install && npm start

Get SpaceX Dragons

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

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_ID with your project id):

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 20 seconds.

curl -X GET https://{YOUR_PROJECT_NAME}.wundergraph.dev/operations/Dragons

Learn More

Read the Docs.