SmartClass combines a React/Nginx frontend, Node.js/Express/Prisma backend and PostgreSQL, runs locally through Docker Compose and is provisioned with Terraform on AWS ECS Fargate. The repository documents adaptations required by AWS Academy constraints.
- Terraform
- AWS ECS
- Docker
- React
- Node.js
- Prisma
- PostgreSQL
Context and problem #
The exercise replaces manual configuration with versioned infrastructure to make deployment repeatable and auditable.
My contribution #
The work integrates the application, Docker images, networking, task definition and ECS service, with documentation of the deployment journey.
Architecture #
One ECS Fargate task groups PostgreSQL, backend and frontend. Terraform declares networking, security and execution; Docker Compose supports local development.
- ✓ Terraform 1.x
- ✓ AWS ECS Fargate
- ✓ React servido por Nginx
- ✓ Express + Prisma + PostgreSQL
Evaluation and quality #
Evidence comes from Terraform files, Dockerfiles, the runnable application and documentation of services and academic-environment constraints.
Limitations #
The architecture keeps the database in the same task because of AWS Academy constraints; production would require managed persistence and stronger credential policies.
Next steps #
Add remote Terraform state, a deployment pipeline, observability and a production architecture with a managed database.
Test the product and inspect the code
The live demo runs the core flow with safe local data. The public repository preserves the complete backend, tests, infrastructure and technical documentation.