garage-compare-svelte Svelte Themes

Garage Compare Svelte

Car Garage Inspector

A SvelteKit app for visiting garages in Switzerland and tracking what you see for each vehicle.

What the app includes

  • One dedicated page per vehicle
  • One overview page with one row per vehicle
  • One checklist comparison page in tabular form
  • One lease comparison page in tabular form, including new / buy prices
  • One JSON file per vehicle under data/vehicles
  • Simple checkbox-based inspection checklist designed for physical meetings
  • Optional 48-month and 60-month lease term support
  • Modern, simple UI without extra CSS frameworks

Tech choice

This is built as a SvelteKit app with a Node adapter because you asked to store each vehicle as its own JSON file. A static-only frontend cannot reliably write JSON files on disk from the browser.

Getting started

npm install
npm run dev

Open the local URL shown by Vite.

Build for production

npm run build
node build

Data storage

Each vehicle is stored as a standalone JSON file in:

data/vehicles/

The app ships with three demo vehicles so you can see the compare pages immediately.

Main routes

  • /vehicles — overview table, one row per vehicle
  • /vehicles/new — create a vehicle
  • /vehicles/[id] — edit a vehicle, checklist, notes and lease offer
  • /compare/checklist — compare checklist status across all vehicles
  • /compare/lease — compare price and leasing offers across all vehicles

Data model

Each vehicle record stores:

  • brand (BMW, Mercedes, Audi, Lexus)
  • model
  • model year
  • engine power in kW
  • buy / new price in CHF
  • mileage
  • garage name and location
  • VIN
  • inspection date
  • summary and notes
  • checklist status
  • lease offer:
    • downpayment
    • monthly rate for 48 months
    • monthly rate for 60 months
    • rest payment for 48 months
    • rest payment for 60 months
    • effective interest rate

Suggested next upgrades

  • Photo upload per vehicle
  • Export compare tables to CSV
  • Attach scanned offers or PDFs
  • Add sorting / filtering by brand, price or checklist score
  • Add Swiss-specific fields like MFK date, winter tyres included, emission category, warranty end date

Top categories

Loading Svelte Themes