The challenge & the build
A robust Express + Handlebars web application that manages the financial ledger of a lottery business. It records daily sales and payouts, reconciles agent accounts, and handles bulk data through Excel import and export. Built with server-side rendering, session-based auth and a MySQL data layer via Sequelize for reliable, auditable records.
A look inside
Real screens from Lottery Ledger System — recreated in the product's own interface and palette.
What's inside
Daily ledger
Record sales, payments and balances per agent and per draw.
Excel import/export
Bulk-load and export data with ExcelJS and SheetJS.
Reconciliation
Settlement reports that reconcile agent accounts automatically.
Session auth
Secure session-based login for operators.
Server-rendered
Fast, SEO-friendly Handlebars views with compression.
MySQL data layer
Sequelize ORM for reliable, structured records.