~/work/scalecon-jakarta-2027⎇ main✓❯cat case-study.md
SCALECON Jakarta 2027: Site, Tickets & Attendee App
The second edition's platform, rebuilt around one sign-in: the scalecon.ai conference site with Zoom-backed webinar registration, our own ticketing system with Duitku payments, and an attendee app at app.scalecon.ai with ticket-gated login, referral commissions, pass upgrades, a free-coffee voucher, Discord role linking, and the AI twibbon generator. Built by a two-person team.
- AI Engineer Intern
- Aug 2026 – present
- Dewaweb
- shipping
Context
SCALECON Surabaya 2026 ran on a set of separate tools: GOERS for tickets, a Google Sheet as the attendee list, a standalone twibbon app, and WhatsApp automation. For the Jakarta 2027 edition the team wanted ticketing in-house and one account per attendee across everything the event offers.
As with Surabaya, this is a two-person build: one teammate and I, each shipping across the site, the ticketing system, and the attendee app. The list below is what I did; my teammate wrote a large share of the site and ticketing code as well.
What I built
scalecon.ai, the conference site
I set up the Next.js 16 site from scratch with Docker, Caddy, and GitLab CI deployment.
- Partner pages. I built the four partner pages (sponsor, speaker, media, community), each with a working application form. Applications go to the review inbox by email and to WhatsApp as a lead alert, with the applicant’s PDF attached.
- Tickets. Pass cards and group-buy tiers link straight into checkout.
- Support and media. A Chatwoot support widget, and the media library from past editions.
- Webinar registration on Zoom. Webinar sign-ups are registered in Zoom with their own join link, and a day-of reminder email carries each registrant’s link. Registration is confirmed by a WhatsApp message and answered through Unipile, with a funnel report that shows who submitted the form, who confirmed on WhatsApp, and who Zoom has, plus a script that registers and thanks sign-ups who never sent the message.
- Hosting. Fixed a redirect loop between Cloudflare’s Flexible SSL and the origin by serving the apex over plain HTTP at the origin.
Ticketing: our own system
Ticketing is our own system (Laravel + React), run in-house at app.scalecon.ai.
- Duitku payments. I added Duitku as a payment provider. Unpaid returns cancel the order and no longer lock the attendee’s email. Duitku is asked for the real payment status before a return is resolved.
- Sign-in and deployment. Google SSO, deployment on Dewacloud behind Caddy, and the routing that splits
app.scalecon.aibetween the ticketing engine and the attendee app. - Ticket upgrades. Paid upgrades apply to the exact ticket they were bought for and re-issue it under the new tier.
- Checkout hardening. Promo codes that say when they don’t apply, per-route rate limits keyed on the real visitor IP behind Cloudflare, and an end-to-end checkout test job in CI.
- Balance claims. Admins review pass-holder balance claims and credit them to Dewacloud and DewaVPS. A ticket holder can claim again after a rejection.
- Purchase tracking. A GA4 purchase event is pushed when an order completes, reporting the price before tax and fees and the promo code used, with the Meta purchase payload documented and confirmed.
- Partner referral upgrades. Community partners who bring in referred tickets through a partner code are upgraded automatically at set thresholds, up to VIP, and thresholds count every referred ticket so they never reset.
app.scalecon.ai, the attendee app
- Ticket-gated sign-in. Login by magic link or Google, allowed only for attendees with a valid ticket. The pass tier is read from the ticketing system’s orders, not from a spreadsheet.
- One session across subdomains. A shared session cookie lets attendees move between the app and
recording.scalecon.aiwithout signing in again. On the recordings site, premium content requires an entitlement and each viewer only sees recordings up to their own edition. - Referrals. Per-event referral links, commission earned on sold tickets, and payout bank details locked behind an explicit Edit.
- Upgrades and claims. An upgrade offer on each ticket below VIP, linked to that ticket, plus a Claim tab for Builder and VIP holders.
- Free coffee voucher. Every pass holder gets a free coffee on the claim tab: they pick a drink from a coffee-machine menu, show the voucher at the bar, and enter the code the barista gives them. Staff mark cups ready from an admin page and the holder confirms pickup. Wrong codes are rate limited.
- Discord role linking. A Join the Discord tile links the attendee’s Discord account over OAuth, adds them to the SCALECON community server, and sets their Attendee, Builder, or VIP role from their pass. One ticket links one Discord account.
- AI twibbon. I ported the Surabaya generator onto Gemini and Sharp. Gemini only ever receives the photo, never the template. The photo is fitted into the frame cutout before generation. Name tags are drawn deterministically instead of asking the model to render text. Each attendee has a generation cap, and organisers can see everything generated.
- Operations. Nightly backups of both stacks on the shared node.
Stack
Next.js 16 · React 19 · NextAuth v5 · Prisma 7 · PostgreSQL · Laravel · Duitku · Zoom API · Gemini · Sharp · Caddy · Cloudflare · Docker · GitLab CI
~/work/scalecon-jakarta-2027⎇ main✓❯cat links.md