A single-page web application for automotive parts catalog and business management. Works as a static site — just open index.html in a browser. No build tools required.
- Vehicle Lookup — Search Italian plates via Informazioni Targhe API
- Parts Catalog — Browse manufacturers → models → versions → categories → parts via Auto Parts Catalog API
- Cross-Reference — Find aftermarket equivalents by OEM code (searches local cache)
- Labor Times — Reference repair times from Open Labor Project
- Inventory Management — Track stock, movements, min quantities (IndexedDB)
- Clients & Suppliers — CRM with CRUD operations (IndexedDB)
- Invoicing — Create/view/manage invoices with IVA calculation
- Dashboard & BI — Chart.js charts for revenue, categories, margins
- Open
index.htmlin a browser - Go to Impostazioni (Settings)
- Paste your RapidAPI key
- Click Salva → Test Connessione
| Provider | Used For | Free Tier |
|---|---|---|
| Informazioni Targhe | Plate lookup | 10 requests/day |
| Auto Parts Catalog | Parts catalog | 100 requests/month |
| Open Labor Project | Labor times | Free, no key needed |
All API responses are cached in IndexedDB for 24 hours to save quota.
The app uses a provider abstraction layer (js/providers.js). To add a new plate or parts provider:
- Add the provider config to
CONFIG.providersinjs/config.js - Implement the provider interface in
js/providers.js(seePlateProviders/PartsProviders) - Add the option to the settings dropdowns in
index.html - Update
getPlateProvider()/getPartsProvider()if needed
index.html — HTML structure, links to CSS/JS
css/style.css — All styles
js/config.js — CONFIG object and provider endpoints
js/db.js — IndexedDB wrapper and API cache
js/providers.js — API provider implementations
js/charts.js — Chart.js dashboard and BI charts
js/app.js — Main app logic, navigation, UI rendering
README.md — This file
CLAUDE.md — AI coding assistant context
All data is stored locally in the browser via IndexedDB (AutoPartsPro database). No server required. Stores: apiCache, vehicles, clients, suppliers, inventory, movements, invoices, orders.
Settings (API key, provider choices) are stored in localStorage.