Skip to content

Commit 43dca00

Browse files
authored
Merge pull request #4 from 4Min4m/codex/locate-unnecessary-files-and-folders
Streamline GitHub Actions pipeline and shift Lambda packaging to Terraform
2 parents ef51284 + dc61609 commit 43dca00

18 files changed

Lines changed: 300 additions & 831 deletions

.github/workflows/ci-cd.yml

Lines changed: 181 additions & 244 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A robust payment transaction simulator designed to test and demonstrate payment
4040
- **Database**: Supabase
4141
- **Build Tool**: Vite
4242
- **Backend**: Express.js with Apollo Server (TypeScript)
43-
- **Deployment**: Render
43+
- **Deployment**: AWS (Terraform + GitHub Actions)
4444
- **Containerization**: Docker
4545

4646
---
@@ -203,8 +203,10 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
203203
## 📊 **Infrastructure and Deployment**
204204

205205
### **Production Environment**
206-
- **Frontend Hosting**: Render
207-
- **Backend Hosting**: Render
206+
- **Frontend Hosting**: Amazon S3 static website
207+
- **Backend Hosting**: AWS Lambda behind API Gateway
208+
- **Infrastructure as Code**: Terraform
209+
- **CI/CD**: GitHub Actions (manual approval + smoke tests)
208210
- **Database**: Supabase
209211

210212
### **Environment Variables**

appspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Resources:
99
TargetVersion: "2"
1010
Hooks:
1111
- BeforeAllowTraffic: "TransactionSimulatorAPIPreTrafficHook"
12-
- AfterAllowTraffic: "TransactionSimulatorAPIPostTrafficHook"
12+
- AfterAllowTraffic: "TransactionSimulatorAPIPostTrafficHook"

buildspec-create-lambda-s3-bucket.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

buildspec-frontend-build.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

buildspec-lambda-canary-deployment.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

buildspec-lambda-package.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

buildspec-smoke-tests.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

buildspec-static-analysis.yml

Lines changed: 0 additions & 88 deletions
This file was deleted.

buildspec-terraform-apply.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)