Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timtebeek/graphql-jpa-spring-boot-starter
Spring Boot starter for GraphQL JPA; Expose JPA entities with GraphQL.
https://github.com/timtebeek/graphql-jpa-spring-boot-starter
Last synced: 25 days ago
JSON representation
Spring Boot starter for GraphQL JPA; Expose JPA entities with GraphQL.
- Host: GitHub
- URL: https://github.com/timtebeek/graphql-jpa-spring-boot-starter
- Owner: timtebeek
- License: mit
- Created: 2016-10-27T13:22:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-17T09:06:35.000Z (about 2 years ago)
- Last Synced: 2024-08-03T17:09:07.812Z (4 months ago)
- Language: Java
- Size: 33.2 KB
- Stars: 33
- Watchers: 5
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-graphql-java - graphql-jpa-spring-boot-starter
README
# graphql-jpa-spring-boot-starter
Spring Boot starter for GraphQL JPA; Expose JPA entities with [GraphQL](http://graphql.org/).Builds on [GraphQL for JPA](https://github.com/jcrygier/graphql-jpa),
which in turn builds on [GraphQL Java](https://github.com/graphql-java/graphql-java)
to expose JPA Entities through a `/graphql` endpoint.Many thanks to @jcrygier for the initial hard work; This is mostly just a wrapper.
## Usage
1. Add the following dependency to your project `pom.xml` along with the repository.
```pom.xml
com.github.timtebeek
graphql-jpa-spring-boot-starter
0.0.3
...
bintray-timtebeek-maven
bintray
http://dl.bintray.com/timtebeek/maven
```
2. Start your project and navigate to http://localhost:8080/graphiql.html.## Warning
This is terribly fun for exploratory projects but quite possibly a terrible idea when you later want to evolve your API. Proceed with caution; maybe read about REST? :)