added READMEs

This commit is contained in:
Tom Hombergs
2017-08-02 23:22:33 +02:00
parent 42bd620471
commit 9a6d73b447
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Handling associations between entities with Spring Data Rest
This repo contains some example code that creates a REST client using Feign
that accesses a REST API exposed by Spring Data REST.
The companion blog post with more details can be found [here](https://reflectoring.io/accessing-spring-data-rest-with-feign/).
## Running the application
In order for this application to run, you need to run the application in the
[spring-data-rest-associations](https://github.com/thombergs/code-examples/tree/master/spring-data-rest-associations)
example first to provide the REST API for the client in this project.
The, simply run `gradlew bootrun` on Windows or `./gradlew.sh bootrun` on Unix.

View File

@@ -0,0 +1,11 @@
# Handling associations between entities with Spring Data Rest
This repo contains some example code that exposes some Spring Data repositories
via Spring Data REST to show how to handle relationships between JPA entities
via the REST API.
The companion blog post with more details can be found [here](https://reflectoring.io/relations-with-spring-data-rest/).
## Running the application
Simply run `gradlew bootrun` on Windows or `./gradlew.sh bootrun` on Unix.

View File

@@ -0,0 +1,10 @@
# Documenting a Spring Data REST API with Springfox and Swagger
This repo contains some example code that exposes some Spring Data repositories
via Spring Data REST and creates a documentation of that API using Springfox.
The companion blog post with more details can be found [here](https://reflectoring.io/documenting-spring-data-rest-api-with-springfox/).
## Running the application
Simply run `gradlew bootrun` on Windows or `./gradlew.sh bootrun` on Unix.