Skip to content

Commit 952d416

Browse files
committed
Initial commit
0 parents  commit 952d416

16 files changed

+4971
-0
lines changed

.babelrc

Whitespace-only changes.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
.aws-sam

README.md

Whitespace-only changes.

api.yaml

Whitespace-only changes.

package-lock.json

Lines changed: 4943 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "serverless-order-api",
3+
"version": "1.0.0",
4+
"description": "",
5+
"type": "module",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"author": "Alex",
10+
"license": "ISC",
11+
"dependencies": {
12+
"@aws-sdk/client-dynamodb": "^3.359.0",
13+
"@aws-sdk/lib-dynamodb": "^3.359.0",
14+
"uuid": "^9.0.0"
15+
},
16+
"devDependencies": {
17+
"@babel/cli": "^7.22.5",
18+
"@babel/core": "^7.22.5",
19+
"@babel/node": "^7.22.5",
20+
"@babel/plugin-proposal-class-properties": "^7.18.6",
21+
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
22+
"@babel/plugin-transform-runtime": "^7.22.5",
23+
"@babel/preset-env": "^7.22.5",
24+
"@babel/register": "^7.22.5"
25+
}
26+
}

seeders/data.js

Whitespace-only changes.

src/api/v1/orders/delete.js

Whitespace-only changes.

src/api/v1/orders/get.js

Whitespace-only changes.

src/api/v1/orders/post.js

Whitespace-only changes.

src/api/v1/orders/put.js

Whitespace-only changes.

src/manage/functions/orderStateManager.js

Whitespace-only changes.

src/manage/functions/processPayment.js

Whitespace-only changes.

src/manage/functions/sendOrder.js

Whitespace-only changes.

src/manage/state-machine/processOrder.asl.json

Whitespace-only changes.

template.yaml

Whitespace-only changes.

0 commit comments

Comments
 (0)