I Built Full Car Dealership Management Software in Google Sheets | Claude AI + Apps Script
A full car dealership ERP for vehicle sales, parts, stock, workshop job cards, warranty, finance and 22+ reports. Comes in two versions: Google Apps Script on Google Sheets, and Next.js with PostgreSQL.
- Publié
- Durée de la vidéo17 min
- Two versions in one download
- No hosting cost on Google Sheets
- 11 roles
- 22+ reports
- Printable A4 documents
- Demo data included
- Postgres-ready
Fonctionnalités
- Vehicle inventory with VIN, cost and sale price, and in-stock/reserved/sold status
- Vehicle reservations, sales with trade-in, partial payments and delivery
- Parts catalogue with categories, OEM numbers, barcodes and reorder levels
- Multi-warehouse stock with storage bins and a full stock ledger
- GRN workflow: draft, inspect, post to stock
- Stock issue, transfer (request, approve, dispatch, receive) and adjustments
- Part requisitions, OEM orders and parts dispatch
- Workshop appointments and job cards from estimate to delivery
- Automatic vehicle maintenance schedules with due-soon and overdue alerts
- Warranty claims and complimentary services
- Finance: accounts, receipts, supplier payments and expenses with vouchers
- Dashboard with 10 KPI cards and 7 animated charts
- 22+ reports with auto KPIs, charts, CSV export and print
- Printable A4 invoices, GRNs, purchase orders, vouchers and statements
- 11 roles with an editable permission matrix and branch/warehouse scoping
- Customer, supplier, vehicle and user profile pages
- CSV import, activity log and in-app notifications
- Web version: 7 themes, English and Urdu, email OTP password reset
- Web version: importer that moves your Google Sheets data to PostgreSQL
À propos de ce projet
Dealer Management ERP runs a car dealership group with several branches in one app: vehicle inventory and sales, spare parts and warehouse stock, the service workshop, warranty, finance and reports. Each user signs in and sees only the menus their role allows, limited to their own branches and warehouses.
You get two complete versions of the same system.
The Google Apps Script version needs no server and no hosting bill. The whole app is two files (Code.gs and index.html), and the data lives in a Google Sheet that is created on the first run. One click loads a full month of realistic demo data: 3 branches, 16 users, 24 vehicles, 30 parts, and daily sales, job cards, GRNs and transfers.
The Next.js web version is the same system rebuilt for production. It uses PostgreSQL through Prisma, Better Auth for sign-in, and an API that runs inside Next.js. You can deploy it to Vercel with Supabase, or host it yourself with Docker. It adds 7 colour themes, an English/Urdu interface, password reset by email OTP, login lockout, rate limiting and a full automated test suite. A built-in importer moves your live data from the Google Sheets version into PostgreSQL.
Both versions use the same 11 roles, the same workflows, the same printable A4 documents and the same reports, so you can start on Google Sheets and move to the web version when the business grows.
Pour qui ?
Car dealerships, auto parts businesses and workshops, and developers who want a real ERP to learn from or build on.
Ce que vous allez apprendre
- How to build a multi-module ERP on Google Apps Script with Google Sheets as the database
- How to build role-based permissions checked on both the client and the server
- How to post every stock movement through one ledger so stock never goes negative
- How to model approval workflows (GRN, transfers, adjustments, warranty)
- How to stay inside Apps Script's 6-minute limit with batch writes and caching
- How to generate print-ready A4 documents with a preview before printing
- How to rebuild an Apps Script app in Next.js with PostgreSQL and Prisma
- How to deploy a Next.js app to Vercel and Supabase, or self-host it with Docker
Prérequis
- A Google account (Apps Script version)
- Node.js 20+ (web version)
- pnpm 9+ (web version)
- Docker Desktop for the local database (web version)
- A Vercel and Supabase account, or any Docker host, for production (optional)
- An SMTP provider for password-reset emails in production (optional)
Réalisé avec
Instructions d’installation
- Apps Script: create a new Apps Script project at script.google.com
- Apps Script: paste Code.gs, add an HTML file named index and paste index.html
- Apps Script: run setupDemoData once and approve the permissions
- Apps Script: Deploy > New deployment > Web app, Execute as: Me, then open the URL
- Apps Script: sign in with admin@dealer.com / Demo@123
- Web: open the 2-NextJS-Web folder and copy .env.example to .env
- Web: set BETTER_AUTH_SECRET to a long random string
- Web: run pnpm install, then pnpm db:up, then pnpm db:deploy, then pnpm db:seed
- Web: run pnpm dev and open http://localhost:3000
- Web: sign in with admin@dealer.com / Demo@123
- Web: to go live, follow DEPLOY.md (Vercel + Supabase or Docker)



Avis et commentaires
Avis et commentaires
Vous l'avez construit ? Racontez comment cela s'est passé ou posez une question.
Laisser un avis