Skip to content

dashaun-project-catalog/simple-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forks Stargazers Issues

Spring for GraphQL

This is a project will demonstrate the basics of building a GraphQL API using Spring for GraphQL. This project is built on Spring Boot 3.2 and Java 21.

About the Application

  • This application is built around the domain model of a Coffee type.
  • There is a CoffeeService responsible for creating an in-memory collection of coffees and the CRUD operations to support it.
  • The CoffeeController is responsible for mapping methods to the GraphQL Schema.
  • The GraphQL Schema is located at /src/main/resources/graphql/schema.graphqls.
  • The GraphiQL UI has been enabled in application.yaml

Quick Start

./mvnw spring-boot:run