Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aenesgur/graphql-java-spring-boot-project
It is GraphQL boilerplate project developed on Java Spring Boot. PostgreSQL used as a database on Docker
https://github.com/aenesgur/graphql-java-spring-boot-project
docker graphql graphql-schema-language hibernate-jpa java pagination playground postgresql spring-boot voyager
Last synced: 9 days ago
JSON representation
It is GraphQL boilerplate project developed on Java Spring Boot. PostgreSQL used as a database on Docker
- Host: GitHub
- URL: https://github.com/aenesgur/graphql-java-spring-boot-project
- Owner: aenesgur
- Created: 2021-03-07T20:42:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T10:55:09.000Z (over 3 years ago)
- Last Synced: 2023-03-06T20:52:19.857Z (over 1 year ago)
- Topics: docker, graphql, graphql-schema-language, hibernate-jpa, java, pagination, playground, postgresql, spring-boot, voyager
- Language: Java
- Homepage:
- Size: 25.4 KB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Java Spring Boot Project with GraphQL and PostgreSQL
It is GraphQL boilerplate project developed on Java Spring Boot. There is a small scenario based on the Real Estate industry.
There are two fields as Listing and Trade Type. While a listing will have only one Trade Type, a Trade Type may have more than one Listing. It has a One to Many relationship.
Within the scope of the project, PostgreSQL which is running on Docker, used for database.
Code First approach preffered.* Medium url: https://medium.com/emlakjet/integration-and-using-graphql-on-a-java-spring-boot-project-899f4c4edc53
* run the "docker-compose up -d" command in the "resources" folder and then run the application.
* Playground url: http://localhost:8010/playground### Example queries on playground
* Voyager extension added, test it with: http://localhost:8010/voyager
![image](https://user-images.githubusercontent.com/47754791/110254628-f9f4d880-7fa0-11eb-8e50-bd257243432c.png)