View project.json
This file contains 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
{ | |
"name": "Project name", | |
"description": "Project description", | |
"role": "Lambda execution IAM role", | |
"timeout": 300, | |
"environment": {"environment": "dev"} | |
} |
View function.json
This file contains 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
{ | |
"description": "Function description", | |
"hooks": { | |
"build": "pip install -r requirements.txt -t ." | |
}, | |
"environment": { | |
"folder": "user" | |
} | |
} |
View orders.JSON
This file contains 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
{ | |
"status": "success", | |
"data": [ | |
{ | |
"status": "pending", | |
"order_display_id": 105, | |
"visit_id": "582575e29900da34fb5c6ae5", | |
"restaurant": "57a846214efe8e865c721d6f", | |
"order_id": "30acc7e5-efb3-48f4-82a3-82fd5fe7a05b", | |
"items": [ |
View order.json
This file contains 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
{ | |
"order_id": 1, | |
"created_at": "2016-11-04 12:33:00", | |
"restaurant_id": 1, | |
"visit_id": 1, | |
"user": { | |
"user_id": 1, | |
"user_name": "John Smith", |