23 lines
722 B
Plaintext
23 lines
722 B
Plaintext
# Phase 003: Vehicle CRUD And Detail Page
|
|
|
|
## Goal
|
|
Build the main vehicle management interface.
|
|
|
|
## Work
|
|
- Add `VehiclesController`.
|
|
- Add routes for vehicle index, show, new, create, edit, update, and destroy.
|
|
- Build simple ERB views for vehicle CRUD.
|
|
- Make `vehicles#index` the root page.
|
|
- On `vehicles#show`, display vehicle details, maintenance schedules, fuel history, and maintenance history.
|
|
- Keep layout simple and mobile-friendly.
|
|
|
|
## Deliverables
|
|
- Vehicle CRUD UI.
|
|
- Vehicle request specs.
|
|
- Basic navigation.
|
|
|
|
## Acceptance Criteria
|
|
- Users can create, view, update, and delete vehicles.
|
|
- Vehicle show page is the main operational screen.
|
|
- Request specs cover successful and invalid create/update paths.
|