Demo GraphQL service for serving up data about your favourite books. Includes basic types, queries, a resolver, and a mutation to get book data and like a book for a given user. Built for a lunch and learn presentation at NTT Data Services. Additional projects include:
- An Apollo GraphQL service which consumes an API to show how GraphQL and RESTful services can live in harmony. The Apollo server is available at https://sd-graphql-goodreads.herokuapp.com/.
- A Java Springboot implementation of the GraphQL goodreads service.
In order to run the service(s) locally:
- Clone the repository
git clone https://github.com/sdevalapurkar/graphql-goodreads.git
- Install dependencies
npm install
- Start up the server of your choice
To run the base server:
npm run graphql
To run the Apollo server:
npm run apollo
To run the Apollo server with a full fake REST API:
npm start
To run the Java Springboot server:
cd java-springboot
gradle bootRun
Here is a small list of some other useful tools and resources for learning that I believe could be beneficial.
https://www.graphql-java.com/tutorials/getting-started-with-spring-boot/
https://graphql.org/learn/queries/ https://www.apollographql.com/docs/tutorial/introduction/