Invoice Pro, Debt Book Pro and Smart POS: three small-business web apps that run as static files
Small shops and freelancers usually need three things: send an invoice, chase who still owes money, and ring up a sale. I built one app for each in plain JavaScript. No framework, no build step, no server. Open index.htm
Small shops and freelancers usually need three things: send an invoice, chase who still owes money, and ring up a sale. I built one app for each in plain JavaScript. No framework, no build step, no server. Open index.html and it runs.
Invoice Pro handles invoices with line items, tax and discount, partial payments that update the invoice status by themselves, expenses, clients, a printable invoice sheet, and reports with a CSV export.
Live demo: https://codeshop-demos.pages.dev/invoicepro/
Debt Book Pro tracks customers' debts and collections. Payments are allocated to the oldest debt first, each customer has a credit limit and a printable statement with a running balance, and overdue customers get a one-tap WhatsApp reminder.
Live demo: https://codeshop-demos.pages.dev/debtbook/
Smart POS is a cashier and inventory app with invoices and reports that works offline.
Live demo: https://codeshop-demos.pages.dev/smart-pos/
How they are built:
- config.js holds the brand name, logo letter, colors, currency and language. It is the only file you edit to rebrand.
- data.js holds seeded sample data, with dates relative to today so the demo always looks current.
- modules.js holds the screens and the logic.
- English and Arabic (right to left) are built in, with a dark theme and a backup export.
Data is stored in the browser, so the demos run on any static host. Moving to a real database means replacing the data layer, which is kept in one place and explained in the docs.
The source, docs and rebrand guide are on SellAnyCode and Coodify. If you try a demo, I would like to hear what is missing for a real small business.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.