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
Copy file name to clipboardExpand all lines: README.md
+9-21Lines changed: 9 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,16 @@
1
1
# AWS AScan Todo Application
2
2
3
-
A serverless todo application built using AWS Lambda, API Gateway, and DynamoDB.
3
+
A serverless todo application built using AWS Lambda, IAM and DynamoDB.
4
+
5
+

4
6
5
7
## Overview
6
8
7
-
This project implements a serverless todo application that allows users to create, read, update, and delete todo items. The application is containerized and deployed on AWS Lambda, with DynamoDB as the database backend.
9
+
This project implements a serverless todo API that allows users to create, read, update, and delete todo items. The application is containerized and deployed on AWS Lambda, with DynamoDB as the database backend.
8
10
9
11
## Architecture
10
12
11
13
The application follows a serverless architecture with the following components:
12
-
13
-
<!-- - **Frontend**: Web interface for interacting with the todo application -->
14
-
<!-- - **API Gateway**: RESTful API endpoints to manage todo items -->
15
14
-**AWS Lambda**: Serverless functions to process API requests
16
15
-**DynamoDB**: NoSQL database to store todo items
17
16
-**Amazon ECR**: Container registry to store the application Docker image
@@ -76,9 +75,8 @@ The application provides the following API endpoints:
76
75
POST /todos
77
76
{
78
77
"title": "Complete documentation",
79
-
"description": "Finish the README.md file",
80
-
"dueDate": "2023-06-30",
81
-
"completed": false
78
+
"done": false,
79
+
"priority": 1,
82
80
}
83
81
```
84
82
@@ -87,10 +85,8 @@ POST /todos
87
85
{
88
86
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
89
87
"title": "Complete documentation",
90
-
"description": "Finish the README.md file",
91
-
"dueDate": "2023-06-30",
92
-
"completed": false,
93
-
"createdAt": "2023-06-20T12:00:00Z"
88
+
"done": false,
89
+
"priority": 2,
94
90
}
95
91
```
96
92
@@ -108,12 +104,4 @@ Common issues and their solutions:
108
104
-**API returns 5xx errors**: Check Lambda logs in CloudWatch
109
105
-**Container fails to start**: Verify environment variables are properly set
110
106
-**CI pipeline fails**: Ensure AWS credentials are properly configured in GitHub secrets
111
-
-**Infrastructure deployment fails**: Check the workflow logs in the `infra-aws-ascan` repository
112
-
113
-
## Contributors
114
-
115
-
- Your development team
116
-
117
-
## License
118
-
119
-
[Insert license information]
107
+
-**Infrastructure deployment fails**: Check the workflow logs in the `infra-aws-ascan` repository
0 commit comments