How mhmmdvg/vehicle-list works
Project type and purpose
• This is a Vue 3 single-page application (SPA) written in TypeScript and built with Vite.
• It provides a dashboard-style UI for vehicle management, jobs, authentication, settings, etc.
File structure
• Top-level: configuration & metadata (package.json, tsconfig*.json, vite.config.ts, vercel.json), entry HTML (index.html), lock file (bun.lockb), and a public folder for static assets.
• src/ holds the application code:
• main.ts – bootstraps the Vue app and mounts App.vue.
• App.vue – root component.
• views/ – page-level components (e.g. DashboardView, JobView, LoginView, SettingsView, VehicleView).
• components/ui/ – reusable UI primitives (Card, Checkbox, Input) and layout components (AppBar, Sidebar, SidebarLayout).
• composables/ – Composition API logic (e.g. useAuth.ts, useVehicle.ts).
• stores/ – client-side state (e.g. vehicleStore.ts).
• libs/ – low-level utilities and API client (axios.ts, constants.ts, utils.ts).
• models/ – TypeScript interfaces for domain objects (Auth, NavModel, Vehicle).
README
• Confirms this is a starter template for Vue 3 + TypeScript + Vite.
• No backend code in repo—communication with a remote API is abstracted via libs/axios.ts.