VendingCare
Business & SaaS
Case study
In development2026After-sales service for vending machines: the customer scans a QR code on the machine, the operator handles the incident.
The problem
When a vending machine swallows a coin or breaks down, the customer has no one to tell and the operator gets duplicate reports mixing breakdowns and refund requests.
The solution
A QR code per machine opens a guided diagnosis, with no account. Identical reports are grouped; the operator's teams (support, restockers, technicians) handle them from a dashboard and a field interface.
Main features
- Public page per machine and server-side diagnosis
- Duplicate detection, including under simultaneous reports
- Assignment, transfer, resolution and reopening of incidents
- Refund requests kept separate from technical incidents
- Data isolation between operators
Technical design
A modular monolith: each domain (assistance, incidents, fleet, claims, notifications…) has its module, with business code kept apart from infrastructure. Lint rules written for the project forbid raw SQL that would bypass isolation between operators.
Challenges
- Two customers report the same breakdown at the same moment
- Grouping relies on a row lock and a unique index, with a retry on conflict. It is tested with several connections firing dozens of simultaneous reports against a real PostgreSQL.
Results
- In development: fleet administration has no interface yet and hosting is not decided
- About 50 Vitest test files and 10 Playwright journeys
Technologies
- Next.js 16
- React 19
- TypeScript
- Prisma 7
- PostgreSQL 17
- Better Auth
- Zod
- Vitest
- Playwright
Skills demonstrated
TypeScript · Next.js · Prisma · PostgreSQL · Software architecture · Authentication and authorisation · Testing and quality assurance
Links
No public link for this project.