# vitaliyrudakovskiy/vroomie architecture

> Architecture diagram of the GitHub repository vitaliyrudakovskiy/vroomie, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vitaliyrudakovskiy/vroomie
- Repository: https://github.com/vitaliyrudakovskiy/vroomie

## Overview

Vroomie is a mobile-first digital garage for recording vehicle maintenance. Users authenticate, manage a garage, open a car’s information, and track completed services or future plans; plans can later become completed repairs. Profile and friend features are additional product branches. The route table and sampled components establish navigation and some dispatches; the README documents broader capabilities such as photos, receipts, links, and plan conversion, but their implementation links were not sampled.

Main entry points: [`src/app/app.routes.ts`](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/app.routes.ts) (App routes), [`src/app/features/services-page/services.ts`](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/services-page/services.ts) (Service history), [`src/app/features/garage/garage.ts`](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/garage/garage.ts) (Garage), [`src/app/features/plans-page/plans.ts`](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/plans-page/plans.ts) (Future work plans)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_routes["App routes<br/>[app.routes.ts]"]
  node_layout["Main layout<br/>[main-layout.ts]"]
end

subgraph group_identity["Identity and access"]
  node_authpage["Sign-in and registration<br/>[auth.ts]"]
  node_authservice["Firebase authentication<br/>[auth.service.ts]"]
  node_guards["Route guards"]
end

subgraph group_garage["Garage and vehicle data"]
  node_garagepage["Garage<br/>[garage.ts]"]
  node_carcard["Vehicle card<br/>[car.ts]"]
  node_garageeffects["Garage state effects<br/>[effects.ts]"]
  node_garageapi["Garage data service<br/>[garage.service.ts]"]
  node_carinfo["Vehicle information<br/>[car-info.ts]"]
  node_carinfoservice["Vehicle info service"]
end

subgraph group_maintenance["Maintenance tracking"]
  node_servicespage["Service history<br/>[services.ts]"]
  node_servicecard["Service record card<br/>[service-card.ts]"]
  node_servicemodal["Service entry<br/>[service-modal.ts]"]
  node_bulkmodal["Multiple service entry"]
  node_servicesstate["Service state effects<br/>[effects.ts]"]
  node_servicedata["Service data service"]
  node_planspage["Future work plans<br/>[plans.ts]"]
  node_plancard["Plan card<br/>[plan-card.ts]"]
  node_plansstate["Plan state effects<br/>[effects.ts]"]
  node_plansdata["Plan data service<br/>[plans.service.ts]"]
  node_cloudinary["Cloudinary image storage"]
end

subgraph group_community["Profile and friends"]
  node_profile["Profile<br/>[profile.ts]"]
  node_friends["Friends<br/>[friends.ts]"]
  node_invite["Friend invitation<br/>[invite-page.ts]"]
  node_userprofile["User profile service<br/>[user.service.ts]"]
end

node_owner(("Car owner"))
node_firebaseauth["Firebase Auth"]

node_owner -->|"signs in"| node_authpage
node_authpage -->|"calls"| node_authservice
node_authservice -->|"authenticates"| node_firebaseauth
node_owner -->|"navigates"| node_routes
node_routes -->|"routes to"| node_authpage
node_routes -->|"wraps pages"| node_layout
node_routes -->|"checks access"| node_guards
node_routes -->|"routes to"| node_garagepage
node_routes -->|"routes to"| node_carinfo
node_routes -->|"routes to"| node_servicespage
node_routes -->|"routes to"| node_planspage
node_routes -->|"routes to"| node_profile
node_routes -->|"routes to"| node_invite
node_garagepage -->|"dispatches load"| node_garageeffects
node_garagepage -->|"reads profile"| node_userprofile
node_garagepage -->|"renders"| node_carcard
node_servicespage -->|"dispatches loads"| node_servicesstate
node_servicespage -->|"opens entry"| node_servicemodal
node_servicespage -->|"opens entry"| node_bulkmodal
node_servicespage -->|"renders"| node_servicecard
node_bulkmodal -->|"dispatches additions"| node_servicesstate
node_bulkmodal -->|"reads owner"| node_userprofile
node_servicecard -->|"dispatches deletion"| node_servicesstate
node_planspage -->|"renders"| node_plancard
node_profile -->|"renders"| node_friends
node_profile -.->|"uses profile"| node_userprofile
node_owner -.->|"manages vehicles"| node_garagepage
node_owner -.->|"records repairs"| node_servicespage
node_owner -.->|"plans work"| node_planspage
node_servicespage -.->|"stores photos"| node_cloudinary
node_planspage -.->|"converts plans"| node_servicespage
node_friends -.->|"invites friends"| node_invite

click node_routes "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/app.routes.ts"
click node_layout "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/layout/main-layout.ts"
click node_authpage "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/auth/auth.ts"
click node_authservice "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/auth.service.ts"
click node_guards "https://github.com/vitaliyrudakovskiy/vroomie/tree/main/src/app/core/guards"
click node_garagepage "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/garage/garage.ts"
click node_carcard "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/garage/components/car/car.ts"
click node_garageeffects "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/store/garage/effects.ts"
click node_garageapi "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/garage.service.ts"
click node_carinfo "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/car-info/car-info.ts"
click node_carinfoservice "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/car-info.service.ts"
click node_servicespage "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/services-page/services.ts"
click node_servicecard "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/services-page/components/service-card/service-card.ts"
click node_servicemodal "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/shared/modals/service-modal/service-modal.ts"
click node_bulkmodal "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/shared/modals/many-services-modal/many-services-modal.ts"
click node_servicesstate "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/store/services/effects.ts"
click node_servicedata "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/services.service.ts"
click node_planspage "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/plans-page/plans.ts"
click node_plancard "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/plans-page/components/plan-card/plan-card.ts"
click node_plansstate "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/store/plans/effects.ts"
click node_plansdata "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/plans.service.ts"
click node_cloudinary "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/cloudinary.service.ts"
click node_profile "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/profile/profile.ts"
click node_friends "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/profile/components/friends/friends.ts"
click node_invite "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/invite-page/invite-page.ts"
click node_userprofile "https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/user.service.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_routes,node_layout toneBlue
class node_authpage,node_authservice,node_guards toneAmber
class node_garagepage,node_carcard,node_garageeffects,node_garageapi,node_carinfo,node_carinfoservice toneMint
class node_servicespage,node_servicecard,node_servicemodal,node_bulkmodal,node_servicesstate,node_servicedata,node_planspage,node_plancard,node_plansstate,node_plansdata,node_cloudinary toneRose
class node_profile,node_friends,node_invite,node_userprofile,node_owner,node_firebaseauth toneIndigo
```

## Components

### Application entry

- [App routes](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/app.routes.ts): `src/app/app.routes.ts`
- [Main layout](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/layout/main-layout.ts): `src/app/layout/main-layout.ts`

### Identity and access

- [Sign-in and registration](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/auth/auth.ts): `src/app/features/auth/auth.ts`
- [Firebase authentication](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/auth.service.ts): `src/app/core/services/auth.service.ts`
- [Route guards](https://github.com/vitaliyrudakovskiy/vroomie/tree/main/src/app/core/guards): `src/app/core/guards`

### Garage and vehicle data

- [Garage](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/garage/garage.ts): `src/app/features/garage/garage.ts`
- [Vehicle card](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/garage/components/car/car.ts): `src/app/features/garage/components/car/car.ts`
- [Garage state effects](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/store/garage/effects.ts): `src/app/store/garage/effects.ts`
- [Garage data service](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/garage.service.ts): `src/app/core/services/garage.service.ts`
- [Vehicle information](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/car-info/car-info.ts): `src/app/features/car-info/car-info.ts`
- [Vehicle info service](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/car-info.service.ts): `src/app/core/services/car-info.service.ts`

### Maintenance tracking

- [Service history](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/services-page/services.ts): `src/app/features/services-page/services.ts`
- [Service record card](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/services-page/components/service-card/service-card.ts): `src/app/features/services-page/components/service-card/service-card.ts`
- [Service entry](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/shared/modals/service-modal/service-modal.ts): `src/app/shared/modals/service-modal/service-modal.ts`
- [Multiple service entry](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/shared/modals/many-services-modal/many-services-modal.ts): `src/app/shared/modals/many-services-modal/many-services-modal.ts`
- [Service state effects](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/store/services/effects.ts): `src/app/store/services/effects.ts`
- [Service data service](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/services.service.ts): `src/app/core/services/services.service.ts`
- [Future work plans](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/plans-page/plans.ts): `src/app/features/plans-page/plans.ts`
- [Plan card](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/plans-page/components/plan-card/plan-card.ts): `src/app/features/plans-page/components/plan-card/plan-card.ts`
- [Plan state effects](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/store/plans/effects.ts): `src/app/store/plans/effects.ts`
- [Plan data service](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/plans.service.ts): `src/app/core/services/plans.service.ts`
- [Cloudinary image storage](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/cloudinary.service.ts): `src/app/core/services/cloudinary.service.ts`

### Profile and friends

- [Profile](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/profile/profile.ts): `src/app/features/profile/profile.ts`
- [Friends](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/profile/components/friends/friends.ts): `src/app/features/profile/components/friends/friends.ts`
- [Friend invitation](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/features/invite-page/invite-page.ts): `src/app/features/invite-page/invite-page.ts`
- [User profile service](https://github.com/vitaliyrudakovskiy/vroomie/blob/main/src/app/core/services/user.service.ts): `src/app/core/services/user.service.ts`

### Other components

- **Car owner**
- **Firebase Auth**

## Connections

- Car owner → Sign-in and registration: signs in
- Sign-in and registration → Firebase authentication: calls (evidence: `src/app/features/auth/auth.ts`)
- Firebase authentication → Firebase Auth: authenticates (evidence: `src/app/core/services/auth.service.ts`)
- Car owner → App routes: navigates (evidence: `src/app/app.routes.ts`)
- App routes → Sign-in and registration: routes to (evidence: `src/app/app.routes.ts`)
- App routes → Main layout: wraps pages (evidence: `src/app/app.routes.ts`)
- App routes → Route guards: checks access (evidence: `src/app/app.routes.ts`)
- App routes → Garage: routes to (evidence: `src/app/app.routes.ts`)
- App routes → Vehicle information: routes to (evidence: `src/app/app.routes.ts`)
- App routes → Service history: routes to (evidence: `src/app/app.routes.ts`)
- App routes → Future work plans: routes to (evidence: `src/app/app.routes.ts`)
- App routes → Profile: routes to (evidence: `src/app/app.routes.ts`)
- App routes → Friend invitation: routes to (evidence: `src/app/app.routes.ts`)
- Garage → Garage state effects: dispatches load (evidence: `src/app/features/garage/garage.ts`)
- Garage → User profile service: reads profile (evidence: `src/app/features/garage/garage.ts`)
- Garage → Vehicle card: renders (evidence: `src/app/features/garage/garage.ts`)
- Service history → Service state effects: dispatches loads (evidence: `src/app/features/services-page/services.ts`)
- Service history → Service entry: opens entry (evidence: `src/app/features/services-page/services.ts`)
- Service history → Multiple service entry: opens entry (evidence: `src/app/features/services-page/services.ts`)
- Service history → Service record card: renders (evidence: `src/app/features/services-page/services.ts`)
- Multiple service entry → Service state effects: dispatches additions (evidence: `src/app/shared/modals/many-services-modal/many-services-modal.ts`)
- Multiple service entry → User profile service: reads owner (evidence: `src/app/shared/modals/many-services-modal/many-services-modal.ts`)
- Service record card → Service state effects: dispatches deletion (evidence: `src/app/features/services-page/components/service-card/service-card.ts`)
- Future work plans → Plan card: renders (evidence: `src/app/features/plans-page/plans.ts`)
- Profile → Friends: renders (evidence: `src/app/features/profile/profile.ts`)
- Profile → User profile service: uses profile
- Car owner → Garage: manages vehicles
- Car owner → Service history: records repairs
- Car owner → Future work plans: plans work
- Service history → Cloudinary image storage: stores photos
- Future work plans → Service history: converts plans
- Friends → Friend invitation: invites friends
