Home / Projects / Business Manager
Full-stack app · Business software

Business Manager

Enter the day's trips once and the accounts do themselves. A management system for a transport and trading business that turns purchases and deliveries into stock, balances, payments and profit.

Type
Business management web app
Role
Design & development
Frontend
Next.js 16, React 19, Tailwind CSS 4, shadcn/ui
Charts
Recharts
Data
PostgreSQL (Neon) with Prisma 7
Reports
Excel export, print and PDF
Hosting
Vercel
Status
Live (sample data)
0Panels, from stock to profit and loss
0Roles: owner and staff
0Of changes written to an activity log
0Test files
business-management-lemon.vercel.app
Business Manager home page with a dashboard previewVisit live site ↗

Screenshot of the live site. Click it to open the real thing.

Overview

The problem & the solution

Problem. A transport and trading business runs on trucks, drivers, bills and cheques. The accounts usually live in notebooks and spreadsheets, so balances are slow to work out and mistakes appear at month end.

Solution. Prices live in one fixed price list, so each trip is just: pick the truck, the route, the product and the quantity. The system calculates amounts, stock, balances and profit. Every list, payment mode and category is editable in Settings, so the same app fits other businesses.

Built as a template for a transport and trading business in Surat, Gujarat. The live site shows sample data.

Highlights

  • One entry per trip, with truck, driver and route on every purchase and delivery
  • Fixed prices that fill in automatically and can't be mistyped
  • Live stock, with a warning before sending more than you have
  • A khata (ledger) for every client and supplier, with statements
  • Cheque tracking, where a bounced cheque never counts
  • Dues ageing, daily and monthly summary, and profit and loss
  • Excel export, print and save as PDF, and WhatsApp reminders
  • Installable on phone and desktop (PWA), with light and dark theme
How it works

From a truck leaving to profit at month end

🚚

Record the trip

Choose the truck, driver, route, products and quantity. Prices fill in from the price list.

📦

Stock updates

Purchases add stock and deliveries remove it. Low stock is flagged on the dashboard.

💰

Track payments

Cash, UPI, bank or cheque, paid now or later. Balances update in every client's khata.

📊

See the profit

Daily summaries, dues ageing and a profit and loss statement are ready when you are.

What's inside

Everything the business needs in one place

🧾

Daily work

  • Product incoming: purchase bills with several items and freight
  • Product outgoing: delivery challans and invoices
  • Trucks and routes, with trips and value per truck
  • Returns, damaged goods and stock adjustments
  • Daily expenses by category
📒

Accounts

  • Ledger (khata) for every client and supplier
  • Payments by mode and terms, with cheque tracking
  • Dues ageing: 1-30, 31-60, 61-90 and 90+ days
  • Staff salaries, wages, advances and bonuses
  • Profit and loss with a monthly breakdown
🎛️

Control & reports

  • Dashboard with KPIs compared to the last period
  • Search and filters saved in the URL, with pagination
  • Excel export of every list and report
  • Activity log: who changed what, with old and new values
  • Settings for lists, items, clients, suppliers and users
Security & roles

Owner and staff see different things

🔑

Login & roles

  • No public sign-up: the owner creates users
  • Staff can add entries; only the owner can edit or delete
  • Dashboard, ledger, profit and loss and settings are owner-only
  • scrypt password hashing and account lockout
🛡️

Hardened by default

  • Content Security Policy, HSTS and anti-framing headers
  • Random session tokens, stored only as hashes
  • Server-side checks on every page and action
  • Excel exports neutralise formula injection
🧪

Tested

  • Unit tests for money, ageing and reports
  • Playwright end-to-end tests for entries, filters and exports
  • Mobile, layout and PWA checks
  • Security tests for auth and permissions
Screens

A look around

Tech stack

What it's built with

Next.js 16React 19TypeScriptTailwind CSS 4shadcn/uiRechartsPrisma 7PostgreSQLNeonExcelJSPWAVitestPlaywrightVercel

Need software for your business?

We build custom accounting, stock and operations tools that replace spreadsheets and paper registers.

Discuss your project →