Skip to content

Simple example of wrapping REST API with GraphQL. Youtube REST api to get subscription count is wrapper in the resolver.

Notifications You must be signed in to change notification settings

chinmaymahajan/GraphQL-TSERIES-vs-PEWDIEPIE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL-TSERIES-vs-PEWDIEPIE

Simple example of wrapping REST API with GraphQL. Youtube REST api to get subscription count is wrapper in the resolver.

You will need to get your API key from youtube

Getting started

yarn install
yarn start

It will Spin up a GraphQL server (graphql-yoga) on port 4000 with GraphiQL UI

Queries

PewDiePie

Query for PewDiePie

T-Series

Query for T-Series

About

Simple example of wrapping REST API with GraphQL. Youtube REST api to get subscription count is wrapper in the resolver.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published