aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

EPIC: Cross Service example for DynamoDB Item Tracker

Open scmacdon opened this issue 3 years ago • 2 comments

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 avatar Jan 04 '22 16:01 scmacdon

@scmacdon work with @Laren-AWS update the REST endpoints to match https://github.com/awsdocs/aws-doc-sdk-examples/issues/3100

brmur avatar Sep 08 '22 18:09 brmur

Jason and I updated this.

scmacdon avatar Sep 09 '22 18:09 scmacdon