Lumos Platform
Modular monolith for a recreation venue: ticketing, wallet, NFC bracelets, gate access and cafe POS.
Summary
A multi-branch venue operations platform with real hardware in the loop — ESP32 gate firmware reading NFC bracelets, a wallet ledger, ticketing, rentals and a cafe point-of-sale, all in one deployable unit.
Metrics
The problem
- !Venue operations were split across separate tools: a ticketing desk, a paper bracelet system, a cash register and a manual gate. Reconcilement happened by hand at close of day.
- !Every new feature would have meant another integration, and the venue has multiple branches with different opening rules.
- !Physical access control is unforgiving: a gate that opens on a stale bracelet read is a revenue leak, and a gate that refuses a valid one is a queue.
Approach
What I actually changed, and why.
- 01
Modular monolith, deliberately
One deployable unit with hard internal module boundaries — ticketing, wallet, POS, gate, rental, branch. Splitting into services would have added operational cost with no scaling benefit at this size.
- 02
The bracelet is a ledger, not a balance
Wallet top-ups and spends are append-only transactions, so a disputed bracelet can be reconstructed rather than guessed at.
- 03
Gate access as an explicit state machine
Entry, exit and re-entry rules are modelled per branch, so a rule change is a configuration change rather than a code change.
- 04
Firmware in the same repository
The ESP32 reader firmware lives beside the application, so a protocol change is one pull request instead of two repos drifting apart.
- 05
Documentation as a first-class artefact
Architecture, module boundaries, decisions log, design system, scenario walkthroughs and a security audit all live in docs/ and were written before the features they describe.
Outcome
- ✓Ticketing, wallet, gate access, rentals and cafe sales reconcile against one ledger instead of four.
- ✓Hardware and application evolved together, so NFC protocol changes never left the firmware behind.
- ✓Multi-branch rules are configuration, not forked code.
- ✓A security audit pass is part of the repository, not an afterthought.
Gallery
4 items
Stack
Tags
lumos-platform