This is a GraphQL Server that extracts the data from a PostgreSQL database.
This server will expose a GraphQL API to read the information from a database. This exercise does not include the INSERt/DELETE/UPDATE of the data from the API.
In this exercise, the database is not present, and it's replaced by a in-memory list of elements.
./gradlew run
curl --location --request POST 'http://localhost:8080/graphql' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"query{contentById(id: \"1\") {id, title}}","variables":{}}'