Jomtix
Multi-tenant ticketing and invitations for any event, with a fair waiting room for big sales.
The problem
Jomtix is a ticketing and invitation platform for events of any kind: weddings, concerts, gatherings, meetups. Organisations host events, and people get in by any mix of paid tickets, free RSVP, invitation only, or an invitation they pay through. One event can have paying buyers and invited guests side by side.
The platform collects every payment, takes a fee, keeps a ledger per organisation and pays organisers out after the event. Money, capacity and door entry all live in one system. The hard case is a big on-sale: thousands of fans opening the link at the same minute, when every hold for one event goes through a lock on that event’s row.
What I built
- Organiser workspace: events, ticket types, promo codes, custom questions, team roles, guest lists, invitations with RSVP and party size, and reports.
- Seat maps. Seating is chosen per ticket type: no seat, organiser assigns, or buyer picks at checkout. A ticket type can be sold per seat or as a whole table. Organisers save venue layouts and start each event from its own copy.
- Check-in. Door staff scan QR passes with a phone camera or search by name, phone, email or order number, and admit a single guest or a whole party. Managers can undo a mistaken check-in.
- Ledger and payouts. Organisers request payouts; an admin pays them and records the bank reference.
- Waiting room. A separate service in front of high-demand sales that holds fans in a fair line and lets them through at a rate Jomtix can handle.
Architecture & stack
A modular monolith on Laravel 13 with Inertia 3, React 19 and TypeScript. Each domain module (Organisations, Events, Admission, Invitations, Commerce, Payments, Ledger, Check-in, Reporting) lives under app/Domain and never writes another module’s tables. Modules talk through actions and domain events: a successful payment marks the order paid, which issues passes and records the sale in the ledger.
Tenancy is one database with organization_id scoping through a trait and a global scope. Money is stored as integer minor units with a currency enum, and every status column is a string cast to a PHP enum, never a database ENUM. Payments sit behind a gateway contract, with Curlec by Razorpay as the first driver. MySQL is required, because capacity, payouts and check-in depend on row locks.
Production is a FrankenPHP and Octane image with Inertia SSR on Node. The waiting room is its own repository: Node 22, TypeScript, Fastify 5 and Redis, with static event pages that the web server serves without any logic.
Highlights
- A fair line. Everyone who arrives before the sale opens is shuffled once into a random position; later arrivals join the back in order. One “now serving up to” number per event rises at the admit rate, so every fan polls the same cacheable status.
- Passes that can’t be shared. Admission is a short token signed with HMAC-SHA256 holding the event, pass, visitor and a 10-minute expiry. Jomtix checks it without a network call and ties the pass to one browser session, so a copied link is sent back to the line.
- An append-only ledger. There is no stored balance: balances are sums over an indexed
ledger_entriestable, and a unique key on each entry’s source makes recording idempotent. Refunds still go through after a payout; the balance may go negative and blocks the next payout request. - Check-in under contention. A scan locks the pass row, so two phones scanning the same pass get one “accepted” and one “duplicate”. Every attempt, failures included, is written to an append-only log.
Gallery
01 item
Video