/spring-data-dynamodb-demo

Demo of Amazon DynamoDB Spring-Data repositories using Spring-Data-Rest

Primary LanguageJavaApache License 2.0Apache-2.0

spring-data-dynamodb-demo

Demo of Amazon DynamoDB Spring-Data repositories using Spring-Data-Rest

To get started

  1. Create and populate Amazon DynamoDB "Forum", "Thread" and "Reply" tables as described in Amazon's example tutorials:

http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/JavaQueryScanORMModelExample.html

  1. Populate the src/main/resources/environment.properties file with your DynamoDB endpoint, and AWS credentials.

  2. mvn jetty:run

  3. Access http://localhost:8080 and explore a simple REST CRUD API for the Reply,Thread and Forum objects.

Demos use of spring-data-rest to export DynamoDB spring-data repositories using the spring-data-dynamodb project

(https://github.com/michaellavelle/spring-data-dynamodb)