Skip to content

Task 4: DynamoDB integration with Product Service - #3

Open
Javlon999 wants to merge 1 commit into
masterfrom
task-4
Open

Task 4: DynamoDB integration with Product Service#3
Javlon999 wants to merge 1 commit into
masterfrom
task-4

Conversation

@Javlon999

@Javlon999 Javlon999 commented Apr 27, 2026

Copy link
Copy Markdown
Owner

What was done?

  • Created DynamoDB tables (products and stock) using CDK
  • Seed script to populate tables with test data
  • Updated getProductsList to read from DynamoDB (joined products + stock)
  • Updated getProductsById to read from DynamoDB (joined products + stock)
  • Created createProduct lambda (POST /products)
  • Input validation for createProduct (returns 400 for invalid data)
  • Error handling returns 500 for server errors
  • All lambdas log incoming requests

Link to Product Service API

Link to FE PR

EPAM-JS-Competency-center/shop-react-redux-cloudfront#612

Product Schema

{
"id": "uuid (string)",
"title": "string",
"description": "string",
"price": "number",
"count": "number"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant