How davilazzaroto/concessionaria-angular works
DD Motors is an Angular dealership SPA. Visitors browse a vehicle catalog, select a vehicle to open its details, and can submit a validated contact form; the page also provides header navigation and a footer. The catalog data is held in the vehicle-list component and typed by the vehicle model. The sampled sources establish application composition and component inputs/outputs, but do not show the templates that connect those interactions, so those links are marked unverified.
Main entry points: vehicle-list.ts Vehicle catalog · app.ts Page composition · main.ts Angular bootstrap · app.config.ts App configuration
Components 12
Application shell
- Angular bootstrap
src/main.ts - App configuration
src/app/app.config.ts - Route table
src/app/app.routes.ts - Page composition
src/app/app.ts - Header navigation
src/app/components/header/header.ts - Informational footer
src/app/components/footer/footer.ts
Vehicle catalog
- Vehicle catalog
src/app/components/vehicle-list/vehicle-list.ts - Vehicle model
src/app/models/veiculo.ts - Vehicle card
src/app/components/vehicle-card/vehicle-card.ts - Vehicle details
src/app/components/vehicle-details/vehicle-details.ts
Contact form
- Contact form
src/app/components/contact/contact.ts
Other components
- Visitor
Connections 13
- Visitor → Angular bootstrap: opens app
- Angular bootstrap → Page composition: bootstraps
src/main.ts - Angular bootstrap → App configuration: uses config
src/main.ts - App configuration → Route table: provides routes
src/app/app.config.ts - Page composition → Header navigation: composes
src/app/app.ts - Page composition → Vehicle catalog: composes
src/app/app.ts - Page composition → Contact form: composes
src/app/app.ts - Page composition → Informational footer: composes
src/app/app.ts - Vehicle catalog → Vehicle model: types catalog
src/app/components/vehicle-list/vehicle-list.ts - Vehicle catalog → Vehicle card: renders cards
src/app/components/vehicle-list/vehicle-list.ts - Vehicle card → Vehicle catalog: emits selection
src/app/components/vehicle-list/vehicle-list.ts - Vehicle catalog → Vehicle details: shows selection
src/app/components/vehicle-list/vehicle-list.ts - Vehicle details → Vehicle catalog: emits close
src/app/components/vehicle-list/vehicle-list.ts