A simple node.js example for consuming the PeterPortal GraphQL API
Clone the repository.
git clone https://github.com/nananananate/graphql-workshop
Install dependencies (namely, node-fetch
).
npm install
Run the script, app.js
.
node app.js
A simple node.js example for consuming the PeterPortal GraphQL API
Clone the repository.
git clone https://github.com/nananananate/graphql-workshop
Install dependencies (namely, node-fetch
).
npm install
Run the script, app.js
.
node app.js