I Built Construction Management Software in Google Sheets | Claude AI + Apps Script
A complete construction ERP built with Claude AI, in two versions: a 3-file Google Apps Script app on Google Sheets and a Next.js + PostgreSQL web app. Budgets, purchasing, stock, payments and approvals.
- प्रकाशित
- वीडियो की लंबाई11 मि॰
- 2 versions
- Google Sheets
- Next.js + PostgreSQL
- 36 tables
- 4 roles
- Approval engine
- Budget control
- Stock ledger
- 20 reports
- Audit log
- Fully tested
- No hosting cost
फ़ीचर
- Projects with a status flow and a detail view for budget, requisitions, orders, issues and expenses
- Project budget (BOQ) with a bulk builder and a consolidated roll-up by category, sub-category and item
- Budget revisions: approved budget lines are locked and change only through an approved revision
- SOW / inquiries and supplier quotations with side-by-side comparison and weighted scoring (60% price, 20% delivery, 20% rating)
- Material requisitions checked against the available budget, with budget reserved on approval
- Purchase orders limited to the approved requisition and remaining budget, with a manager approval limit
- Goods receipts with partial deliveries, rejected and damaged quantities, and automatic payables
- Warehouse stock with an append-only stock ledger, weighted-average cost, FIFO stock ageing and warehouse transfers
- Material issue to site and material returns that reduce project consumption
- Sales invoices with a printable A4 layout, supplier and customer payments, and expenses
- Payments that cannot exceed the outstanding balance; cashier payments wait for approval
- Chart of accounts and general ledger
- Approval inbox for budgets, revisions, requisitions, quotations, orders, payments and expenses
- Activity (audit) log of every important action
- 20 reports: profit and loss, budget vs actual, project profitability, stock ageing, payables and receivables ageing and more
- Role-based dashboards with smart alerts, trend pills, charts and a procurement chain strip
- 4 roles (admin, manager, cashier, warehouse staff) with permissions checked on the server
- Email OTP password reset, change password and user management
- CSV / Excel / PDF / print export, CSV stock import and image upload
- Bonus Next.js version: PostgreSQL database, secure sign-in, Docker, Vercel + Supabase deployment and full automated tests
इस प्रोजेक्ट के बारे में
ERP for Builders is a construction and real-estate ERP built around one rule: no requisition, purchase, payment, stock movement or expense can bypass the project's budget and approval controls.
Every transaction follows one traceable chain: project, inquiry and supplier quotations, project budget (BOQ), material requisition, approval, budget reservation, purchase order, goods receipt, warehouse stock, material issue to site, return, supplier payment, and finally project cost against budget and profitability.
You get two versions of the same system in one download.
Version 1, Google Apps Script: three files (Code.gs, index.html and BUILD-PROMPT.md) that run on Google Sheets. No server, no database, no hosting cost. It uses 36 Sheets tables, 4 roles, an approval engine, a stock ledger, an audit log, 20 reports and role-based dashboards.
Version 2 (bonus), Next.js + PostgreSQL: the same business rules and screens rebuilt as a real web app with a PostgreSQL database, secure sign-in, Docker setup and deployment guides for Vercel + Supabase. It is tested against the original: 239 of 239 recorded scenarios match, plus 132 unit, 104 integration and 159 end-to-end tests, all passing, and a security review with every critical and high finding fixed.
How Claude AI was used: the Google Apps Script version was generated from a detailed build prompt (included as BUILD-PROMPT.md, so you can regenerate or extend it with any AI assistant), and the Next.js version was migrated from it and tested with Claude Code.
यह किसके लिए है
Builders, contractors and construction firms that need budget, procurement and stock control without paying for a heavy ERP, and developers who want a complete real-world ERP to learn from.
आप क्या सीखेंगे
- How to design a multi-table ERP on Google Sheets
- How to build a single secured api() entry point with server-side permissions
- How to enforce budgets and approvals so money cannot be double-spent
- How to keep stock accurate with an immutable transaction ledger
- How to make concurrent writes safe with LockService
- How to build a single-page app in one HTML file with routing and Chart.js dashboards
- How to write a build prompt that lets an AI assistant generate a complete app
- How the same app moves from Google Sheets to Next.js + PostgreSQL (bonus)
ज़रूरतें
- A Google account (for the Google Apps Script version)
- Basic familiarity with Google Sheets
- Basic JavaScript is helpful but not required
- For the Next.js version: Node.js 20+, pnpm 9+ and Docker Desktop
इनसे बना
सेटअप निर्देश
Google Apps Script version
- Go to script.google.com and create a new project
- Delete the default code and paste the contents of Code.gs
- Add an HTML file named exactly index and paste the contents of index.html
- Select setupDemoData and click Run, then approve the permissions (it creates the spreadsheet and demo data)
- Click Deploy, New deployment, Web app; set Execute as: Me and Who has access: Anyone
- Open the web app URL and sign in with a demo account created by setupDemoData
- For real use, run createSheetsOnly instead of setupDemoData and change the admin password
Next.js version
- Install Node.js 20+ (22 recommended), pnpm 9+ and Docker Desktop
- Unzip the NextJS folder and copy .env.example to .env
- Run pnpm install
- Run pnpm db:up to start PostgreSQL, mail and file storage
- Run pnpm prisma migrate deploy, then pnpm db:seed
- Run pnpm dev and open http://localhost:3000
- Sign in with a demo login from GETTING_STARTED.md
- To go live, follow DEPLOY.md (Vercel + Supabase, or Docker)



रिव्यू और कमेंट
रिव्यू और कमेंट
क्या आपने इसे खुद बनाया? अपना अनुभव बताएं या सवाल पूछें।
रिव्यू लिखें