DFNN · PCSO
SwerteHub.ph
National-scale online lotto retail platform, shipped end to end in 9 working days.
- Role
- Development Lead / Full Stack Developer
- Company
- DFNN, Inc.
- Year
- 2025
- Metric
- 9 days
- idea to production
- Metric
- National
- PCSO online lotto retail
Stack
- NestJS
- Vite + React
- AWS
- Nginx
- PayMongo
- GitHub Actions (self-hosted)
- Infrastructure as Code
Details limited by NDA. Client names, numbers and architecture are shown only as far as I'm permitted to share them.
Problem
PCSO lotto tickets needed a national-scale online retail channel: players buy tickets online instead of queueing at an outlet, with payments, ticket records and operations handled in one platform.
Constraints
- Nine working days from kickoff to production.
- A regulated product: PCSO rules shape how tickets are sold and recorded.
- National reach from day one, so the platform had to handle real traffic at launch.
- Online payments through PayMongo.
Architecture
Key decisions
- Monorepo for the NestJS backend and Vite/React frontend, so shared types and one pipeline kept a very small team moving fast.
- Self-hosted GitHub Actions runners for CI/CD, keeping deploys inside the AWS network.
- Infrastructure as code from the first day, so environments could be rebuilt and reviewed rather than clicked together under deadline pressure.
- PayMongo for payments, to use a local, supported payment provider rather than building one.
Outcome
Delivered end to end in nine working days and serving PCSO online lotto ticket retail nationally.