How patrick-hoff/projeto_impacta works
Auto Dealer is an internal used-car inventory management web app. In the implemented vehicle workflow, staff open the vehicle list, where filtering and pagination are handled by the vehicle model; they can open an edit form, which loads a selected vehicle and submits updates through that model to MySQL. Shared templates render navigation and flash messages. The dashboard currently uses mock data. The README also describes client, interest, sales, and sales-history features, but the tree has no dedicated implementation files for them; those branches are documented scope, not verified runtime flows.
Main entry points: veiculo.php Vehicle model · editar-veiculo.php Vehicle edit form · veiculos.php Vehicle list
Components 5
Vehicle screens
- Vehicle list
src/veiculos.php - Vehicle edit form
src/editar-veiculo.php
Vehicle data
- Vehicle model
models/veiculo.php - MySQL
Other components
- Store staff
Connections 6
- Store staff → Vehicle list: opens
- Store staff → Vehicle edit form: opens
- Vehicle list → Vehicle model: requests vehicles
src/veiculos.php - Vehicle edit form → Vehicle model: loads vehicle
src/editar-veiculo.php - Vehicle edit form → Vehicle model: submits updates
src/editar-veiculo.php - Vehicle model → MySQL: reads and writes