Skip to content

nilshartmann/spring-petclinic-graphql-microservice

Repository files navigation

Spring PetClinic Sample Application using spring-graphql

This is a fork of the Spring Pet Clinic Sample Application for Spring-GraphQL. It contains the source code for my articles and my short introduction video on DataLoaders.

Compared to the original example, this one uses a Microservice in the backend to retrieve data.

If you want to start the application, as described below, please also start the VetService microservice:

# Open terminal in root-directory:
./mvnw spring-boot:run -pl vet-service

# Open second terminal in root-directory:
./mvnw spring-boot:run -pl backend
  • You can now open the GraphiQL explorer on http://localhost:9977.
  • For more information about GraphiQL and its usage, see below in the original README.

If you want to start the React frontend, use npm:

cd frontend

# Install dependencies
npm install

# start frontend
npm start
  • The frontend runs on http://localhost:3000
  • For more information about the frontend, see below in original README.

Original README

For example GraphQL queries an more, please see the original README.

Support and Consulting for GraphQL

If you need consulting, training or other support for GraphQL, please feel free to contact me:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors