aws-samples / aws-samples/aws-sam-java-rest
Question: Best practice for creating the dynamo table
- Dominant language
- Java
- Stars
- 437
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
Hello and thanks for the sample app!
I see that in this project there is an endpoint triggered from a POST request, that attempts to create the dynamodb table. I realize this is just a sample project but I was expecting the table definition to be in the template.yaml file instead of java code and now I wonder if there was a reason for the author to do it this way instead
Contributor guide
Research direction
Start by reading template.yaml and the Java code behind the POST endpoint that creates the DynamoDB table. Compare the two approaches and capture the author's rationale or expected best practice. Done means the question is answered clearly, with any relevant guidance documented in the sample project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- cloud, databases, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100