-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task 3. First API with AWS API Gateway and AWS Lambda #18
Comments
This was
linked to
pull requests
Oct 18, 2022
Merged
This was
unlinked from
pull requests
Oct 18, 2022
Merged
This was
linked to
pull requests
Oct 18, 2022
Merged
This was referenced Oct 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Task 3 assignment
Note for reviewers
Task 3 Artifacts
Task 3.prepare (Pull Requests #9, #10, #12)
Task 3.1 (Pull Request #13)
✔️ Create a lambda function called
getProductsList
of Product Service which will be triggered by the HTTP GET method.✔️ The requested URL should be
/products
.✔️ The response from the lambda should be a full array of products.
✔️ This endpoint should be integrated with Frontend app for Product List Page representation
Additional tasks:
✔️ Async/await is used in lambda functions
✔️ ES6 modules are used for Product Service implementation
✔️ ESBuild is configured for Product Service.
Extra effort:
Task 3.2 (Pull Request #14)
✔️ Create a lambda function called
getProductsById
in Product Service which will be triggered by the HTTP GET method.✔️ The requested URL should be
/products/{productId}
✔️ The response from the lambda should be 1 searched product from an array of products (mock data should be used).
Additional tasks:
✔️ Lambda handlers (getProductsList, getProductsById) code is written not in 1 single module (file) and separated in codebase.
Extra effort:
Task 3.swagger (Pull Request #15)
✔️ Swagger scheme is extracted from aws and published along with frontend app.
✔️ Swagger UI is added to the app temporarily. Will be in a separate bucket in future.
Task 3.unit-tests (Pull Request #16)
✔️ Implement tests separate for business logic service and for handlers.
Task 3.error-handle (Pull Request #17)
✔️ Main error scenarios are handled by API ("Product not found" error).
Task 3.cors (Pull Request #19)
middify
function with testsLinks to deployment
Deployments links removed since its outdated and there are newer tasks implemented.
Github Actions log: https://github.com/Guria/aws-js-practitioner/actions/runs/3271179800/jobs/5380650613#step:10:102
The text was updated successfully, but these errors were encountered: