How danielraab/my-cars works
My Car is an in-progress rewrite of a car-management app for vehicles, refuels, repairs, tickets, and expenses. The documented user workflow is a browser-based React app calling a Go REST backend; the legacy app shows the earlier domain scope but is read-only and is not part of the rewrite runtime. Current source confirms frontend startup and backend startup, database setup, and server assembly, but not implemented domain handlers or authentication. The graph therefore treats those capabilities as documented architecture, not verified code.
Main entry points: main.go Server startup · mux.go HTTP mux · routeTree.gen.ts Route tree · main.tsx React entry
Components 17
Frontend
- React entry
frontend/src/main.tsx - App router
frontend/src/router.tsx - Route tree
frontend/src/routeTree.gen.ts - Root route
frontend/src/routes/__root.tsx - Home route
frontend/src/routes/index.tsx
Backend runtime
- Server startup
backend/main.go - Runtime config
backend/internal/config/config.go - DB migrations
backend/internal/db/migrate.go - DB pool
backend/internal/db/pool.go - HTTP mux
backend/internal/httpserver/mux.go - Health endpoint
backend/internal/httpserver/healthz.go - OpenAPI serving
backend/internal/httpserver/openapi.go - Static serving
backend/internal/httpserver/static.go - Health probe
backend/internal/healthcheck/probe.go
External systems
- Application database
Other components
- User browser
- REST API client
Connections 17
- User browser → React entry: loads app
- React entry → App router: creates router
- React entry → Route tree: uses routes
- App router → Route tree: uses routes
- Route tree → Root route: routes to
- Route tree → Home route: routes to
- REST API client → HTTP mux: REST requests
- Server startup → Runtime config: loads config
- Server startup → DB migrations: runs migrations
- Server startup → DB pool: creates pool
- Server startup → HTTP mux: builds mux
- Server startup → Health probe: runs probe
- DB migrations → Application database: changes schema
- DB pool → Application database: connects
- HTTP mux → Health endpoint
- HTTP mux → OpenAPI serving
- HTTP mux → Static serving