aws-doc-sdk-examples
aws-doc-sdk-examples copied to clipboard
EPIC: Cross Service example for DynamoDB Item Tracker
Description of Epic Create or Modify a Rest endpoint in a supported AWS SDK that performs these operations:
1 - View all active items. 2- View archived items that are complete. 3 - Add a new item. 4- Convert an active item into an archived item. 5 - Send a report to an email recipient using AWS SES.
The Rest endpoint must expose these URLS:
1 - /api/items/{state} - A GET request that returns all active or archive data items from the Work table in JSON. 2 - /api/mod/{id} - A PUT request that converts the specified data item to an archived item. 3 - /api/add - A POST request that adds a new item to the database. 4 - /api/report/{email} - A PUT request that creates a report of active items and emails the report.
These URLs are consumed by our Item Tracker React App that displays the data. To see a completed example in Java, see https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_dynamodb_web_app
Live app that returns JSON (all SDK examples must follow this format) -- http://rdsitemtracker-env.eba-aqmhsdtk.us-west-2.elasticbeanstalk.com/api/items/archive
User stories Create from scratch:
- [ ] C++ - Cross Service example for DynamoDB Item Tracker
- [ ] Rust - Cross Service example for DynamoDB Item Tracker
- [ ] #2681
- [ ] #2675
Convert from MVC to React model:
- [ ] #2677
- [ ] Java - Cross Service example for DynamoDB Item Tracker
- [ ] Kotlin - Cross Service example for DynamoDB Item Tracker
- [ ] JavaScript - Cross Service example for DynamoDB Item Tracker
- [x] #3494
- [ ] Python - Cross Service example for DynamoDB Item Tracker
Acceptance Criteria High-level
Additional detail
@scmacdon work with @Laren-AWS update the REST endpoints to match https://github.com/awsdocs/aws-doc-sdk-examples/issues/3100
Jason and I updated this.