graphql-zero-get-posts

1.0.0 • Public • Published

Workflow 2 Module Assignment 3

Usage

Install the package npm install graphql-zero-get-posts

Attach the script to your html

<script src="node_modules/graphql-zero-get-posts/dist/index.js"></script>

Level 1

Using the GraphQLZero API,

  • [x] make a request to get the posts of the user with an id of 5. Request only the title and body of each post.

  • [x] Loop through the results and console log the title of each result.

Level 2

  • [x] Turn your assignment into an NPM package and add the link to the README.

Readme

Keywords

none

Package Sidebar

Install

npm i graphql-zero-get-posts

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

864 kB

Total Files

10

Last publish

Collaborators

  • bartektelec