Skip to content

Commit 1b00f29

Browse files
committed
modified readme
1 parent d02bbcd commit 1b00f29

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This project demonstrates a **serverless Node.js WebAPI** deployed on AWS using
1616
- Executes both `/` and `/health` routes
1717
3. **API Gateway**
1818
- Routes HTTP requests to Lambda
19-
- Supports `/` and `/health`
2019
4. **RDS SQL Server**
2120
- Stores application data
2221
- Used by `/health` route to verify connectivity
@@ -30,10 +29,6 @@ This project demonstrates a **serverless Node.js WebAPI** deployed on AWS using
3029

3130
# Directory Structure
3231

33-
The AWS infrastructure was organised into reusable modules to build the infrastructure and this approach promotes the DRY (Don't Repeat Yourself) principle and makes your code scalable and maintainable. Terraform was used to provision the infrastructure, with the state backend securely hosted on AWS S3, enabling reliable tracking.
34-
35-
36-
3732
```text
3833
3934
serverless/
@@ -111,12 +106,11 @@ serverless/
111106

112107
# CI/CD Pipeline
113108

114-
When application code is modified and pushed to GitHub, the CI/CD pipeline automatically updates the Lambda function with the latest version of the code. The process works as follows:
109+
When application code is modified and pushed to GitHub, the CI/CD pipeline automatically updates the Lambda function with the latest version of the code:
115110

116111
1. A code change is pushed to the GitHub repository.
117112
- A GitHub Actions workflow is triggered.
118113
2. Installs Node.js
119-
- Installs project dependencies
120114
3. Builds a new deployment.zip file containing the Lambda application code
121115
4. The pipeline uploads the new ZIP file to the S3 bucket that was created by Terraform during initial setup.
122116
5. After the ZIP is uploaded, the workflow calls AWS to update the Lambda function’s code, instructing Lambda to pull the latest ZIP from S3.

0 commit comments

Comments
 (0)