You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run yarn build or npm run build and then AWS_REGION=<AWS region, default to ap-southeast-1> cdk deploy --require-approval never to provision the infrastructure
Run AWS_REGION=<AWS region, default to ap-southeast-1> node seed-dynamodb.js to seed the data into DynamoDB tables.
Connect to Aurora Serverless via Query Editor and use SecretsManager ARN from the previous cdk deploy command
Use the SQL command from the report.sql file to create the report table
Create QuickSight VPC connection by using the information from the output of the previous cdk deploy command
{
"username": "<username>",
"items": [
"<Item PK from Item table e.g. Item-1>",
"<Item PK from Item table e.g. Item-3>",
"<Item PK from Item table e.g. Item-5>",
]
}
POST <API Gateway Base URL>/get-order-summary
{
"username": "<username>",
"order": "<Order ID from Shop table e.g. Order-1>"
}
POST <API Gateway Base URL>/get-order-item-status
{
"username": "<username>",
"order": "<Order ID from Shop table e.g. Order-1>"
}
POST <API Gateway Base URL>/process-item
{
"username": "<username>",
"order": "<Order ID from Shop table e.g. Order-1>",
"item": "<Item PK from Item table e.g. Item-1>"
}