A collection of DynamoDB examples with Kotlin and Spring Boot
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
.travis.yml
README.md
build.gradle
docker-compose.yml
gradlew
gradlew.bat
settings.gradle

README.md

DynamoDB with Kotlin

Build Status License

This is a collection of DynamoDB examples with Kotlin and Spring Boot. Every example highlights a different aspect of DynamoDB and is located in a single self-containd test.

Examples

Auditing

Shows how to implement createdAt and lastModifiedAt timestamps.

Note: The createdAt date doesn't work.

Composite Key

Shows how to implement a composite key made up of two parts.

DynamoBee

DynamoBee is a migration tool for DynamoDB, similar to as Liquibase or Flyway. This example shows how to setup and migrate a DynamoDB table with it.

JSON

Shows how to save a complex object as JSON.

JSON Migration

Shows an approach how JSON could migrated.

Note: This approach is highly opinionated and hand-crafted.

Queries

Shows how to query entities with indexes.

Simple

Shows a very simple example and the basic setup.