This is a demonstration purpose app to show how to use inbuilt un/marshalling functionality of DynamoDB in AWS SDK for Golang.
- Docker
- Golang 1.21 or higher
- Clone the repo
- Use following Makefile commands to run the app
make up
to run the app and DynamoDB in docker compose locallymake up-dynamo
to run only DynamoDB in docker compose locallymake down
to stop the running app and/or DynamoDB
- After you're done shutdown containers by running
make down
- Run DynamoDB in container by running
make up-dynamo
- Install dependencies by running
make deps
- Run the app in debug mode from yor IDE of choice and passing environment
variable to the container
DYANMODB_HOST=http://localhost:8000
- After you're done shutdown containers by running
make down