A low-level design exercise from Scaler’s backend course.
How it’s built
- Slot allocation strategies: nearest, farthest or random, chosen through a factory.
- Fee strategies: by the hour or by vehicle type.
- A model of lots, floors, slots, gates and operators, each with its own status.
- Controllers, services and repositories kept separate, with request and response DTOs.