Stocktill
Full-stack SaaS
A multi-store POS and inventory SaaS where each business only sees its own data, backed by 700+ automated tests.

- 700+ tests in CI
- RLS on 20/20 tables
- 3 roles
- Next.js
- TypeScript
- Supabase / PostgreSQL
- Drizzle ORM
- Stripe
- PDFKit
- Resend
- Docker
- Problem
- Small shops run the counter on spreadsheets: stock drifts, cashiers can see margins they shouldn't, and nobody knows who changed what.
- Solution
- A fast register for any USB scanner or the keyboard alone, inventory with low-stock alerts and Excel import, reports, returns and an activity log.
- Technical decisions
- Tenant isolation and roles live in PostgreSQL RLS, not just the UI. Stock only changes through database functions that log every movement, and money is stored as exact decimals.
- Result
- A live public demo backed by unit, pgTAP, integration and Playwright end-to-end tests that run in GitHub Actions on every push.
Stocktill is a fictional brand created for a portfolio project.