Professional project
AGA
Driving school management platform in production, which I deploy and operate on my VPS.
Context
AGA is an online driving school platform at aga-plus.com. It runs on a Contabo VPS shared with other sites: every update must happen without taking them down.
Problem solved
A driving school needs to track its students (lessons, sessions, exams), its vehicles, its cash desk and its staff in one place.
Main features
- Learner driver tracking: theory and practical lessons, sessions, attendance, exams and results.
- Highway code questions (multiple choice) with images.
- Online student portal.
- Fleet: vehicles, mileage readings, rental and sales.
- Cash desk: payments, expenses and end-of-day closing.
- Staff: employees, driving instructors, trainers, leave and payroll.
- WhatsApp reminders and follow-ups.
- Showcase website with photo and video gallery.
- Audit log and backups.
What I did
- Web application: Angular front end, Spring Boot API, PostgreSQL 16 database.
- Deployed to production at aga-plus.com over HTTPS.
Deployment and operations
- I isolated the application in its own Docker Compose stack (agaplus-prod): database, API and front end served by nginx.
- No published ports: traffic goes through the nginx reverse proxy already running on the VPS, over an internal Docker network.
- Let's Encrypt certificates (certbot) renewed automatically.
- Database backup before every update and every night, with an encrypted off-server copy (rclone).
- Database restore scripts.
- dev → main Git workflow to keep development separate from production.
- Capped Docker logs and memory limits, so the other sites on the server are not affected.
Deployment architecture
Technologies
- Angular
- Spring Boot
- PostgreSQL 16
- Docker Compose
- nginx
- Let's Encrypt
- rclone