mirror of https://github.com/lukechilds/micro.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
736 B
736 B
GraphQL Request example
How to use
Download the example or clone the repo:
curl https://codeload.github.com/zeit/micro/tar.gz/master | tar -xz --strip=2 micro-master/examples/with-graphql-request
cd with-graphql-request
Install it and run:
$ yarn install # (or `$ npm install`)
$ yarn run start # (or `$ npm run start`)
Deploy it to the cloud with now (download)
$ now
The idea behind the example
Shows how to get data from a GraphQL endpoint using GraphQL Request. This example relies on graph.cool for its GraphQL backend.