Skip to content

Example project using the maven port of the Netflix Gradle code generation plugin for graphql.

Notifications You must be signed in to change notification settings

deweyjose/graphqlcodegen-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphqlcodegen-example

This repo provides a simple example project that uses graphqlcodegen. Start the server and run the client to see it in action.

Clone the repo

git clone https://github.com/deweyjose/graphqlcodegen-example.git
cd graphqlcodegen-example

Start the server

$ cd server 
$ mvn spring-boot:run

Run the client

This will query the server for a list of shows and print them to the console.

$ cd ../client
$ mvn spring-boot:run
{shows=[{id=1, title=Stranger Things}, {id=2, title=Ozark}, {id=3, title=The Crown}, {id=4, title=Dead to Me}, {id=5, title=Orange is the New Black}]}

About

Example project using the maven port of the Netflix Gradle code generation plugin for graphql.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages