2026
Payment Gateway Product
Personal project · Architecture showcase
Production-style checkout that charges cards through an external payment gateway. NestJS API with hexagonal architecture and Railway Oriented use cases, React 19 SPA, every decision recorded as an ADR, and infrastructure as code with Terraform on AWS (App Runner, RDS, S3, CloudFront).
-
97%+
API test coverage
-
IaC
Terraform on AWS
-
ADRs
Documented decisions
Context
A complete product checkout — product, card and delivery, summary, final status — that charges a credit card through an external payment gateway and updates stock on the server.
What I did
- Hexagonal architecture (ports and adapters): business logic lives in the domain and application layers, never in controllers.
- Railway Oriented use cases that return a typed result and stop at the first expected failure.
- Payment provider behind a vendor-neutral port; every secret, including the integrity signature, stays on the server.
- Money stored as integer cents; card data reduced to brand and last four digits, never persisted.
- Refresh-resilient React 19 client and infrastructure as code with Terraform on AWS (App Runner, RDS, S3, CloudFront).
Results
- Live demo with Swagger API documentation.
- Test coverage enforced above 80% in both apps; the API reaches 97%+ statements.
- Every architectural decision recorded as an ADR.
Stack
- NestJS
- React
- TypeScript
- Terraform
- AWS
- PostgreSQL
- Jest
I'm open to AI Engineer, Senior Software Engineer and Tech Lead roles — remote or with relocation.