Skip to content

Task 3 - #2

Open
nextsukhorutchenko wants to merge 3 commits into
mainfrom
task-3
Open

Task 3#2
nextsukhorutchenko wants to merge 3 commits into
mainfrom
task-3

Conversation

@nextsukhorutchenko

@nextsukhorutchenko nextsukhorutchenko commented May 2, 2026

Copy link
Copy Markdown
Owner

Links
Product Service API (GET /products): https://5y1h93nifb.execute-api.eu-west-1.amazonaws.com/prod/products
Product Service API (GET /products/{id}): https://5y1h93nifb.execute-api.eu-west-1.amazonaws.com/prod/products/7567ec4b-b10c-48c5-9345-fc73c48a80a0
Frontend CloudFront URL: https://ddiqx6yb3n1i1.cloudfront.net/
image

Backend: nextsukhorutchenko/aws-shop-backend#1

tasks (100% completion) in English:

Core Requirements (70/70 points):
✅ Backend Infrastructure: AWS CDK v2 project initialized with API Gateway and Lambda integrations.
✅ getProductsList Lambda: Successfully returns the full array of products (Status 200).
✅ getProductsById Lambda: Successfully retrieves a single product by its ID (Status 200).
✅ Frontend Integration: The deployed Frontend application (CloudFront) is successfully fetching and displaying data from your API Gateway.
✅ Frontend Code Fix: Updated 2 lines in src/queries/products.ts to use the new API endpoints.
Additional Points (+30 points):
✅ Swagger Documentation (+7.5): Created swagger.yaml (OpenAPI 3.0) file describing the API structure.
✅ Unit Testing (+7.5): Implemented Jest unit tests for all Lambda handlers, covering success and error cases.
✅ Code Separation (+7.5): Lambda handlers are organized into separate modules/files for better maintainability.
✅ Error Handling (+7.5): Implemented specific error handling for the "Product not found" scenario (Status 404).

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