Booklidio
Full-stack inventory and invoicing platform featuring automated PDF billing generation, PostgreSQL database, GitHub Actions CI/CD, and Docker deployments.

Production Impact
Instant tax invoice compilation directly to browser stream.
Maintained continuous production availability on containerized cloud VPS.
Total audit integrity maintained across all customer transactions.
The Engineering Challenge
Small business operators often find enterprise ERP systems prohibitively expensive, unintuitive, and slow. They require an agile, single-screen inventory ledger that automates sales invoicing, generates compliant tax receipts on the fly, and maintains bulletproof inventory audit records without complex onboarding.
System Design & Pipeline
A lightweight cloud-native architecture deploying frontend and backend containers via Docker Compose, automated via GitHub Actions CI/CD with automated health checks.
[Internet Client]
|
v
[Traefik Reverse Proxy & SSL]
|
+---------------+---------------+
| |
v v
[React Static Frontend] [Node.js REST API]
|
+---------------+---------------+
| |
v v
[PostgreSQL Database] [PDF Generation Worker]Step 01: Atomic Stock Reconciliation
Inventory updates and sales dispatch events execute inside strict ACID database transactions, preventing negative stock or race conditions.
Step 02: Headless Invoice Generation
Generates branded, print-ready PDF invoices and receipts in under 180ms through a lightweight templating engine.
Step 03: Automated Continuous Delivery
Every commit to main triggers linting, container builds, automated database migrations, and zero-downtime rolling container restarts.
Technical Decisions
Built using React and TypeScript on the frontend, Express/Node.js on the backend, PostgreSQL for persistence, and containerized with Docker.
Database-level serializable transactions for stock checks
Guaranteed that rapid simultaneous checkouts cannot over-allocate physical warehouse stock.
Slightly higher lock retry rate during extreme checkout spikes; mitigated by optimistic row versioning.
Traefik edge router with automatic Let's Encrypt certificates
Eliminated manual SSL certificate renewals and simplified multi-container routing.
Configuration syntax requires strict adherence to Docker label annotations.
Technical Stack
- Languages
- TypeScript · JavaScript · SQL
- Frameworks & Libs
- React · Express.js · Tailwind CSS
- Infrastructure
- Docker · Docker Compose · PostgreSQL · GitHub Actions · Traefik
- Protocols & Formats
- REST · HTTPS
- Testing & Profiling
- Jest · Supertest