Skip to content

Latest commit

 

History

History

springboot-dynamodb-demo

Spring boot with dynamodb

; this is a demo project for learning dynamodb with spring boot

Commands

Start dynamodb with docker

$ cd docker && docker-compose up -d

Run aws cli

Start dynamodb with docker and tests Create table / Create item / Get item / Update item / Delete item / Drop table.

$ scripts/aws-cli.sh

Run with aws-java-sdk-dynamodb and testcontainers

Start dynamodb with testcontainers and tests Create table / Create item / Get item / Update item / Delete item / Drop table.

See SdkBasicUsage.java
See MapperBasicUsage.java

Simple CRUD api with spring data dynamodb

See config package
See rest controller


References