Merged
Conversation
added 6 commits
April 1, 2024 22:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 4.1
Inside /seed folder
Task 4.2
apis
products
https://ej64rpzdqi.execute-api.us-east-1.amazonaws.com/dev/products
products by id
https://ej64rpzdqi.execute-api.us-east-1.amazonaws.com/dev/products/{id}
https://ej64rpzdqi.execute-api.us-east-1.amazonaws.com/dev/products/18b3113a8-b9a3-48e4-83fd-b14ed7305c0a
Here is the FE calling the API with dynamo db integrated
https://d1gsz2pixpaq08.cloudfront.net
Task 4.3
The following command can be used to test the createProduct function locally
Additional (optional) tasks
+6 (All languages) - All lambdas return error 500 status code on any error (DB connection, any unhandled error in code)
+6 (All languages) - All lambdas do console.log for each incoming requests and their arguments
+6 (All languages) - Use RDS instance instead fo DynamoDB tables. Do not commit your environment variables in serverless.yml to github!
+6 (All languages) - Transaction based creation of product (in case stock creation is failed then related to this stock product is not created and not ready to be used by the end user and vice versa)