Skip to content

apaquino/graphql-github-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub GraphQL Server

This is the GitHub repo to hold the code use in my blog post on medium on GraphQL: Learn by doing. You can go to the other branches to follow along. The master branch will alway be current and will not have all the code from past blogs because it may of been test data or have been refactored.

This assumes you have node 4.2.x and npm installed and configured.

Run the command to install

npm install

Then this command to start the GraphQL Server

npm start

TODO:

  • Make more Types

Go to your browser and type http://localhost:8888/GraphQL

Here is a sample query

{
	gitHubUser(username:"apaquino") {
    login
    avatar_url
    following
    following_url
    users_following {
      login
      avatar_url
    }
    user_followers {
      login
      avatar_url
      following_url

    }
  }
}

About

GraphQL server that wraps the Github v3 API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published