How marade19/formflow-dockerized-project works
FormFlow is a student–teacher records portal: users choose a portal, then view, add, or delete records through the API, which reads and writes MySQL. The README also presents infrastructure provisioning and automated deployment as major product capabilities, so those are shown as a separate operational branch. Frontend and API call details come from the sampled source; deployment relationships are documented in the README, while Terraform and workflow implementation details were not sampled.
Main entry points: Routes.js Portal navigation · Home.js Home portal · deploy.yaml CI/CD workflow · Student.js Student records
Components 15
Web client
- React application
frontend/src/App.js - Portal navigation
frontend/src/Routes.js - Home portal
frontend/src/Home.js - Student records
frontend/src/Student.js - Teacher records
frontend/src/Teacher.js
Application services
- Express API
backend/server.js - MySQL database
db/init.sql
Deployment and hosting
- GitHub
- CI/CD workflow
.github/workflows/deploy.yaml - Docker Hub
- Terraform provisioning
terraform - AWS EC2 host
- Container deployment
docker-compose.yml
Other components
- Portal user
- Developer
Connections 17
- Portal user → React application: uses
README.md - React application → Portal navigation: renders
frontend/src/App.js - Portal navigation → Home portal: routes to
frontend/src/Routes.js - Portal navigation → Student records: routes to
frontend/src/Routes.js - Portal navigation → Teacher records: routes to
frontend/src/Routes.js - Home portal → Student records: links to
frontend/src/Home.js - Home portal → Teacher records: links to
frontend/src/Home.js - Student records → Express API: requests records
frontend/src/Student.js - Teacher records → Express API: requests records
frontend/src/Teacher.js - Express API → MySQL database: reads and writes
backend/server.js - Developer → GitHub: pushes changes
README.md - GitHub → CI/CD workflow: triggers
README.md - CI/CD workflow → Docker Hub: publishes images
README.md - CI/CD workflow → AWS EC2 host: deploys to
README.md - Terraform provisioning → AWS EC2 host: provisions
README.md - AWS EC2 host → Container deployment: runs services
README.md - Container deployment → MySQL database: starts database
README.md