.wundergraph | ||
.gitignore | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Simple starter for WunderGraph Cloud
A simple starter that consumes the GraphQL Weather API.
Getting started locally
npm install && npm start
Get the weather for Berlin.
curl -X GET http://localhost:9991/operations/Weather?city=Berlin
Deploy to WunderGraph Cloud
- 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_ID
with your project id):
curl -X GET https://{YOUR_PROJECT_NAME}.wundergraph.dev/operations/Weather?city=Berlin
Make changes
- Make changes to the
main
branch, e.g. change the query in.wundergraph/operations/Weather.graphql
- Commit and push the changes
See your changes live in less than 20 seconds.
curl -X GET https://{YOUR_PROJECT_NAME}.wundergraph.dev/operations/Weather?city=Berlin
Learn More
Read the Docs.