Build with AI

How to build an event ticketing system with Bolt

Build a ticketing platform in one browser tab, with the running app in front of you the whole way. A storefront, a checkout that holds its stock, QR tickets, a scanner, and refunds, each committed straight back to your own GitHub repository.

August 2026 · 47 min read · Updated September 2026

Bolt

$ Build a ticketing platform: events with dated performances and ticket types, a checkout that cannot exceed the allocation, a QR ticket per attendee redeemable once, a staff scanner, and an admin panel for orders and refunds.

  • Repository imported
  • Storefront and door running
  • Ready to publish
You describe it, Bolt builds it
Start here

What an event ticketing system actually is

Three applications over one database: the shop where people buy, the counter and the gate where your staff work on the day, and the back office where orders, refunds, and takings are reconciled afterwards.

An event ticketing system isn’t complex enterprise software. It is simply three straightforward tools working together: the storefront where attendees buy, the scanning app your team uses at the door, and the admin dashboard where you track sales and handle refunds.

Most organizers rely on third-party platforms because they work out of the box. But that convenience costs a fortune: you are paying a percentage on every single ticket sold. That fee might feel small for a 50-person meetup, but it turns into a massive expense when you scale to thousands of attendees.

Building your own system used to be hard because of two core edge cases: preventing two people from buying the last ticket at the exact same second, and verifying QR codes at a crowded door without internet. Once you solve these two rules with your AI coding tool, the rest of the application is just simple web screens.

Zero Overselling Risk

Two buyers clicking "pay" on the last ticket at the exact same millisecond isn’t a rare glitch. It’s standard practice. Your AI coding tool configures your database so reservations and payment happen atomically. You will never sell the same seat twice.

Anti-Fraud QR Protection

A ticket isn’t just a digital receipt. It’s a single-use access key. The system validates every QR code against your central database instantly. A screenshot forwarded to four friends will only let the first person through the gate.

Offline-First Door Scanning

When hundreds of people are waiting at the door, a slow network shouldn’t stop entry. The scanner app validates tickets instantly, syncing seamlessly even in basement venues with zero cell signal.

What the fees actually come to

27%

of a ticket’s base price went to fees on the primary market, ranging from 13% to 58% across 31 events and five ticketing companies, the GAO’s 2018 review, still the figure the Congressional Research Service puts in front of Congress in its April 2026 report on live-event tickets.

Congressional Research Service, 2026 (GAO 2018 study) · checked GAO study 2018, CRS report updated April 2026

What a ticketing platform needs

The parts every ticketing platform is built from

Two of these six decide whether the app survives its first real event. The other four are where most of the visible work is, and almost none of the risk.

01

Real-Time Inventory & Cart Hold

Each ticket type holds a number that exists and a number already gone, and the moment those two are read in one place and written in another, an on-sale will sell you past your capacity. Reserve and sell in a single database operation, decide how long an abandoned checkout holds its stock, and put the released seats back where somebody else can reach them.

02

Flexible Ticket Tiers & Limits

A date, a venue, a door time, and one or more ticket types, each with its own price, its own allocation, and its own cap per order. Keep those on the event rather than in your settings, because early-bird, concession, and on-the-door are the same event disagreeing with itself on purpose.

03

Anti-Fraud QR Tickets

A code per attendee that nobody can guess from the one next to it, a copy the buyer can always reach without an email, and a status that moves from valid to used the first time it is scanned. That status is the whole product on the day.

04

Offline-Ready Gate Scanner

A phone camera, a result big enough to read at arm’s length, and a decision in well under a second. Then the part people skip: what it does when the network drops. Queue the scans locally, admit against what the device already knows, and reconcile when signal returns, because the alternative is a queue out of the building.

05

On-Site Cash & Door Sales Sync

Walk-ups are a large share of a small event and they arrive with cash. A till that sells and prints in one movement, on the same stock as the website, keeps the door and the storefront from quietly disagreeing about how many are left.

06

Master Dashboard & Export

Orders, refunds, exchanges, what sold, what came in, and who actually turned up, with an export, because somebody will want it in a spreadsheet. Attendance against sales is the number that tells you what to print, staff, and order for next time.

Build vs buy

Own the checkout or pay per person through the door

Don’t look at monthly subscription fees. The hidden cost of ticketing platforms is the percentage they carve out of every ticket you sell. Multiply that per-ticket fee by your total attendance, and the numbers speak for themselves.

Build your own

Own the checkout outright: one purchase, the whole codebase, and no cut taken from any ticket. Forty attendees and four thousand cost exactly the same to run.

  • No percentage and no per-ticket fee, because you choose the payment rail and negotiate its rate yourself
  • The same cost to run whether you sell forty tickets or four thousand
  • Free events stay genuinely free, rather than free on some plans and charged on others
  • Your attendees’ names and email addresses are yours, on a list you can reach without an export request
  • The checkout carries your name rather than a marketplace’s, which is most of what a first-time buyer is deciding about
  • Fee handling, refund windows, exchange rules, and how many per order are your policies, not a vendor’s defaults

Rent the checkout

Eventbrite · Universe · TicketSpice · Humanitix

What renting genuinely buys you is the money rail and the audience in front of it. Card processing, refunds, chargebacks on a category that attracts fraud, payouts, and a marketplace where people who have never heard of you are already browsing. None of that is the part you would enjoy building.

  • Selling works on the first day, with the processor, the payouts, and the failed-card handling already solved
  • Chargebacks and fraud are somebody else’s problem, which matters more here than in most categories
  • The larger platforms put your event in front of people already searching, which no app of your own does
  • Scanning apps, printed-ticket formats, and door hardware arrive built rather than described
  • Every one of them takes a cut of each ticket, so the bill scales with the exact thing you are trying to grow
  • Free is not uniformly free: three of these four charge nothing on free tickets, and one charges the same flat fee unless you also sell paid ones
Eventbrite3.7% + $1.79 service fee per ticket, plus 2.9% payment processing per order

The category default, and the clearest statement of the percentage model. The page quotes a “3.7% + $1.79 service fee per ticket” alongside a “2.9% payment processing fee per order”, and lets you choose whether you or the attendee absorbs them. Free events are free: the page offers to “Publish unlimited free events at no cost”. What it does not publish is a plan ladder: the only monthly figure anywhere on it is $15/month for the Pro email tool, which is an add-on rather than the thing you are buying, so no tier price is estimated for it here. Do the multiplication before you compare anything: on a $40 ticket that combined cut is over $5, and it is charged again for every person who comes.

eventbrite.com · checked August 2026

Universe2% + $0.59 per ticket on the two published plans, with Pro quoted as “Custom pricing”

The low-percentage end of the same model, owned by Ticketmaster. Starter and Standard both show “2% + $0.59 per ticket”, and free tickets carry nothing at all. The page is unusually blunt about it: “There are absolutely no service fees. Universe is 100% free for free events”. Payment processing is bundled when you take money through Universe itself. Connect your own Stripe account instead and the page says the processing fee “will be charged to you by Stripe”, which is worth reading twice, because it changes who your money touches first. Pro publishes no figure.

universe.com · checked August 2026

TicketSpice99¢ per ticket plus card processing at 2.9% + 30¢ - 49¢ on tickets of $5 or less and at the door

Included because it prices the opposite way: a flat amount rather than a percentage, which gets cheaper relative to face value the more expensive your ticket is. The page states “99¢ per ticket plus standard credit card processing rates of 2.9% + 30¢”, drops to “49¢ a ticket” on tickets of $5 or less and on box office sales, and answers the question of what else there is with “Nope, nada, zilch.” No monthly plans, setup fees, or contracts. One line to catch: unlike the other three, a free ticket is still charged unless your organisation is also selling paid ones.

ticketspice.com · checked August 2026

Humanitix2.1% + $0.99 booking fee per paid ticket, plus 2.9% + $0.30 processing - 1% + $0.99 for charities and schools

The not-for-profit end, and useful here for showing that even a platform donating its profits still charges per ticket, because the rail underneath costs money whoever runs it. The standard booking fee is “2.1% + $0.99” with processing of “2.9% + $0.30” on top. Charities and schools pay “1% + $0.99” on the same processing. Free events cost “$Nothing. Nada. zero.”, and the page commits that “ALL plans get access to ALL features. NO sign up fees, NO contracts.” Custom arrangements exist on request with no published figure.

humanitix.com · checked August 2026

Rule of thumb: if you need an audience you do not have, buy. A marketplace putting your event in front of strangers is worth a real percentage, and none of it is something an app of your own provides. If your attendees already know who you are, because they follow you, subscribe to you, or come every month, then you are paying a finder’s fee on people you found yourself, and that is the case for building. The arithmetic that settles it is one line: your ticket price, times the percentage, plus the fixed fee, times how many people come. For scale, the Congressional Research Service reports that in 2025 Ticketmaster averaged about $8.91 in revenue for each fee-bearing ticket it sold, not your rate, but a fair sense of what a seat at the top of this market is worth to the company selling it.

No dev needed

Why build with Bolt

Screens are the easy part. What actually stalls a solo build is everything underneath them: somewhere real to hold the data people type in, permission checks on who can see it, and a UI that keeps working once more than one person is using it.

Bolt runs the whole thing in one browser tab, right down to the preview:

The build loop
1

Prompt

Describe the screen or rule you want, in plain language.

2

Preview

Watch the running app rebuild itself in the same tab.

3

Try it

Click through the real app, because the preview is the actual build rather than a mockup.

Refine

Ask for the next change, or fix what’s off.

Loop back to Describe

None of that needs an install or a terminal window, and the whole build happens in the tab GitHub just opened, one request at a time.

One tabruns the whole build

Bolt runs your project inside the browser itself, via StackBlitz’s WebContainers, so the preview you’re looking at is the app actually running, rather than a screenshot or a separate deploy you have to wait on.

Auto-committed to GitHub as you go

Once GitHub is connected, Bolt commits each working change on its own and pulls in anything you changed elsewhere, so the two stay in sync without you typing a git command.

Built-in database or your own Supabase

Ask for a database and Bolt wires up its own managed one with no extra account, or connects a Supabase project you already run yourself.

What it costs

Pay a developer, or do it with AI

Two ways to get the same app built: pay a developer for their hours, or spend your own describing it to an AI coding tool. Here is what each one costs to build, and what it costs to keep running once it is live.

Hire a developer

Custom build, from scratch
Developer
~$13k-$51k
Supabase (backend)
Free tier · $25/mo (Pro plan)*
Hosting
$0 free tier
Build time
~255 hrs of their work

~$13k-$51k to build, then from $25/mo after launch

Our ~255-hour estimate, priced against the rate survey linked below. That survey puts senior US developers in the $100-$150+/hour bands and notes the 20-40% an agency adds over them, so $50/hr and $200/hr bracket the realistic ends. The interesting part is where the hours land: roughly a third of them go on the inventory rules and the door, neither of which appears in a single screenshot, which is the usual reason a quote for this kind of app comes back at a number the organiser was not expecting.

Build it with Bolt

From scratch, with Bolt
Bolt
Free (1M tokens/mo) to $25+/month (Pro, from 10M tokens)
Backend (Supabase)
Free tier · $25/month (Pro plan)*
Hosting
Free on Bolt’s own hosting, or Netlify
Your time
~122 hrs

Free for a first look. A real build costs from ~$25/month on Pro once it outgrows the entry token rung, and climbs from there with usage

Bolt bills by tokens, and the sticker price understates what a real build costs: it reloads your whole project as context on every message, so the entry Pro rung (10 million tokens for $25/month) burns down faster than the number implies. Budget for a top-up or a higher rung on a multi-session build, not the $25 floor. Lean on Bolt’s own token-saving tools (clearing context between features, pointing a prompt at specific files) to slow that burn.

* One line on the free tier is worth more attention on this build than on most. Supabase Free comes with 500 MB of database space, 1 GB of file storage, and 5 GB of monthly egress, and it puts a project to sleep after seven days without activity. Look at the traffic shape of a ticketing app (one on-sale, one event night, weeks of silence around both) and that sleep is not an edge case, it is the default state. Pro, from $25/mo, ends it, brings 250 GB of egress (then $0.09 per GB), and keeps a daily backup for 7 days. Free is genuinely fine until you announce something. Announcing is the moment to move.

Neither column takes a cut of a ticket, because the app records orders and whatever payment rail you connect charges its own rate, so the running cost is a database and a host and nothing else. That bill does not move with attendance: forty tickets and four thousand cost the same to host, and the only thing that grows is the traffic on the night.

Prices and rates from supabase.com, developex.com and bolt.new, checked August 2026.

Plan first

Decide before you build

Answer these six simple questions before launching your platform. Settling your rules today takes minutes: fixing them on the day of the event costs money and lost sales.

01

How will you take payments?

Decide whether you will process credit cards online or accept manual transfers/cash. Card processors automate sales instantly and handle disputes, but they take a small fee (2-3%) on each transaction.

02

General admission or reserved seating?

Are your tickets first-come, first-served, or do attendees pick exact seat numbers on a floor map? Simple ticket counts are effortless to build, while interactive seat maps require additional setup logic.

03

Guest checkout or forced accounts?

Requiring buyers to create an account creates friction and lowers sales. Allowing instant guest checkout sells more tickets, while sending a simple login link via email helps buyers recover lost tickets later.

04

Hidden fees or all-inclusive prices?

Will you absorb payment processing fees into the ticket price or add them on top at checkout? Adding surprise fees at the final step is the single biggest cause of abandoned shopping carts.

05

Clear refund and transfer policies

Define your rules upfront: Can attendees request a refund up to 48 hours before the event? Can they transfer a ticket to a friend’s name? Setting these rules into your system automates support and stops dispute confusion.

06

Door entry logistics & internet signal

How many staff members will scan QR codes, and will the venue entrance have reliable Wi-Fi or 4G? If the signal drops in a basement or field, your scanning app must be able to validate tickets offline.

Approaches

Comparing your build options

The starting point decides how much of the build is spent on parts nobody sees until they fail. Here is one app three ways: by hand, on a UI kit that ends at a catalogue, or in Bolt, where the app runs in the same tab you are describing it in.

~255 hrsBuilding by hand

Two deadlines sit inside this build and neither moves. The on-sale, where a hundred people press buy in the same second and the count has to stay honest, and the door, where a scan has to resolve in under a second on a phone with one bar of signal. Both are hard to get right and impossible to postpone.

~190 hrsGeneric UI starter kit

A starter kit hands you a catalogue, a cart, and a dashboard. It has no notion of a ticket that must be sold once and admitted once, no idea that two buyers can reach the last twenty at the same moment, and nothing at all for the gate. The inventory rules and the whole door are still yours.

~122 hrsBuilt with Bolt

The preview is the app itself, running in the browser, so every change is something you can click through immediately, and each working step commits itself back to your own repository without a git command.

Interactive calculator

Estimate your exact build timeframe

Select the features your event platform needs. Uncheck what you don’t use to see your custom setup timeframe.

What your ticketing platform needs

Your estimate

122 hrs

start to finish

Based on the 6 of 6 features you’ve selected, plus ~29h of groundwork. Toggle any on the left to watch the number move, and open the groundwork row to untick what you have already, such as a database that is already running or going live if you are only building a mock-up for now.

A rough estimate, not a quote. Real time depends on how much you customize and how clean your data is.

Setting up your workspace

Let’s set up the tools you need

Bolt runs in the browser, but it can’t open a .zip file, so the only way in is a GitHub repository. Do that first, then create a Bolt account and a plan. Everything after that is a plain description of what you want.

1

GitHub account

Cost: Free

Bolt has no upload button for a folder or a .zip, and the only way to open a project is to import a repository, so a home for the code has to exist before Bolt does. Sign up and create a private repository, then push your project’s files to it.

Create a free GitHub account
2

Bolt account

Cost: Free

Sign up at bolt.new and connect the GitHub account from the step above. Once it’s linked, you pick a repository to import and land straight in a live preview, with nothing to install.

Sign up for Bolt
3

Bolt subscription

Cost: Free (1M tokens/mo), then from $25/month (Pro)

Free gives you 300,000 tokens a day, capped at 1 million a month, which is enough to try Bolt rather than to finish a real app. Pro starts at $25/month for 10 million tokens (unused ones roll over one extra month), but Bolt reloads your whole project as context on every message, so a multi-session build tends to burn past that entry rung faster than the sticker number implies.

Compare Bolt plans
4

Supabase (database)

Cost: Free to start

Where your project keeps its data. Bolt can wire up its own managed database with no extra account, or connect a Supabase project you already run yourself, and both are Supabase underneath. Ask for one the first time a screen needs to save something real, so you have nothing to set up before you get there.

Connect Supabase to Bolt

The GitHub step comes before Bolt exists for you at all. Everything after it happens inside the browser tab Bolt opens, with no install.

Step by step

Build your ticketing platform, one prompt at a time

Bolt starts from a GitHub repository rather than a blank chat, and everything after that happens in one tab with the app running in it. The order below is built around Bolt’s own economics as much as this app’s: the expensive, tricky work goes in narrowly scoped prompts with the context cleared before each one.

  1. 01

    GitHub first, then import, then set the rules

    The repository has to exist before Bolt does. Once it is imported, spend the first prompt on the rules rather than on features.

    PromptSet up the project
    This project is an event ticketing platform on React 18, Vite, TypeScript, and Tailwind. Before building any features, write a short notes file at the project root fixing the vocabulary (organisation, event, performance, ticket type, allocation, order, ticket, scan) and recording two standing rules for the whole build: what remains of a ticket type is always derived from its allocation minus what has sold, never stored as a figure a screen can write, and a ticket is redeemable exactly once with that check performed on the server rather than on the scanning device. Then set up the Supabase client to read the URL and publishable key from environment variables, confirm the environment file is gitignored, and start the app so I can see it boot.

    Put both rules in the file rather than only in this prompt. Bolt reloads the project as context each turn, so a rule that lives in the repository keeps arriving with everything else, and a rule that lived only in a message you sent an hour ago does not.

  2. 02

    Events and the storefront, in Plan Mode

    Talk the data model through before any code is written, then let it build the whole public side in one pass. This is the cheap half of the build, and the half a live preview genuinely helps with.

    PromptModel the events and build the storefront
    Use Plan Mode for this one. Talk me through the schema before you write it. Organisations own venues and events. An event has a title, description, image, status, and an organisation. A performance is one date of an event with a start time, a door time, and a capacity, because an event can run several times. A ticket type belongs to a performance and carries a name, a price, an allocation, a sold count, and a maximum per order. Once we agree, write the migrations, seed two organisations with three events between them including one with early-bird and standard prices on the same date, and build the public storefront: browsing with search and a date filter, and an event page showing the dates, each ticket type with price and remaining, and a quantity picker honouring the per-order maximum. No accounts and no checkout yet.

    Plan Mode earns its keep here specifically. A schema is the change that is most expensive to get wrong and cheapest to talk through first, and on a tool billing by tokens, one conversation beats three rewrites.

  3. 03

    One prompt for the sale, scoped to the order path

    Clear the context, then point this prompt at the order path alone. It is the hardest logic in the build and the one you least want competing with the storefront for attention.

    PromptBuild the checkout that cannot oversell
    Clear the context from the storefront work first, then work on nothing but the order path. An order needs to know its performance, the buyer’s name and email, whether it is pending, confirmed, or cancelled, whether it came from the website or the counter, and its total. A ticket needs to know its order and its ticket type. Then the piece everything else rests on: a database function that locks the ticket type row, weighs its allocation against the sold count, and in one uninterruptible transaction either records the order, its tickets, and a higher sold count, or records nothing and explains why. What I do not want is a check followed later by a write. Only a server-side function may call it, so the count is never touched from a browser. Add a hold window on pending orders and a job that clears out the expired ones and gives their stock back. To finish, put two orders on the last two tickets at the same instant and report what each one received.

    The live preview will not show you this one, because you are one person clicking one button. Ask for the collision to be run and reported. It is the single place in this build where the thing you can see working is not evidence that it works.

  4. 04

    Roles and access rules, with the context cleared first

    A self-contained change that touches every table. Start it clean, both for the token bill and because it is easier to read as one commit later.

    PromptAdd auth, roles, and access rules
    Clear the context, then do authentication and access rules as one piece of work. Email-and-password sign-up, login, logout, and a persisted session. Three roles (buyer, staff, admin) in their own table rather than on the account record, since anything stored there is editable by its owner, with a security definer function for checking a role and another for checking organisation membership. Then row-level security over organisations, events, performances, ticket types, orders, tickets, and scans, with every rule checking role and organisation together: a buyer reaches only their own orders and tickets, staff reach their own organisation’s events and may sell and scan without touching prices or takings, and an admin is confined to their own organisation. Explicit with-check clauses on inserts and updates. Then sign in as a buyer in the preview and show me that another buyer’s orders and another organisation’s events both come back empty.

    Read the commit Bolt makes for this one on GitHub afterwards. Access rules are the change where a summary of what happened is least useful and the actual diff is most worth two minutes.

  5. 05

    The door, and why the preview is not enough for it

    Everything else in this build can be judged in the tab. The scanner cannot: it needs a phone, a camera, and preferably a room with poor signal.

    PromptBuild the door
    Build the whole door. The ticket comes first: give each one a code that reveals nothing about the codes around it, put it on a "My tickets" page as a QR the buyer can open any time and save if they want to. Then the scanning screen: staff only, camera on, one code at a time, each handed to a server-side function that decides and marks it used. Whatever comes back has to be legible from a phone held out at arm’s length: through you go, that was already used at this time on this device, wrong event, or that one was refunded. Never make that decision on the device, and make sure two copies of one code hitting the function together cannot both succeed. Then the case where the network vanishes: hold that event’s valid codes locally, judge from them while offline, stack the scans up, settle them when the connection returns, and raise anything that turns out to have gone through more than once. Finally, a counter till for people who arrive without having bought, drawing on the same stock the site sells from and accepting cash.

    The camera will not open unless the page is served over HTTPS. Bolt’s preview is, so it works there. The thing to check is the URL you eventually publish, and to check it on the phone your staff will be holding rather than on your laptop.

  6. 06
    Destination

    Refunds, reports, and publishing before the on-sale

    The back office, a full rehearsal, and a deploy that happens well before you announce anything.

    PromptAdd the back office and rehearse
    Finish the back office. Both refunding and exchanging live in server-side functions. A refund voids the tickets on that order, puts their stock back into the allocation it came out of, and keeps a note of who authorised it and why. An exchange cancels what the buyer was holding, issues replacements under new codes, and settles up whatever the price difference turned out to be. After that, the admin panel spanning events, orders, payments, and venues, and the reporting layer: sales per ticket type, money taken, scanned against sold, and the shape of arrivals through the evening, each one downloadable as CSV. Then take one event all the way through with me (published, sold to online and at the counter, scanned on a phone including a deliberate second attempt at the same code, one order refunded) and show me the reports agreeing with all of it. Then publish, and tell me which environment variables the published build needs that the preview never asked for.

    Ask that last question explicitly. A published build reads its configuration from the host rather than from the file on your machine, and an empty storefront on launch day is almost always this and almost never the code.

Authentication & security

Built-in security, role permissions, and fraud protection

Protecting buyer data and ticket validity requires strict server-side security. Here is how your system secures user access, handles permissions, and prevents ticket fraud.

Out-of-the-box user authentication

Registration, sign-in, sessions, and the forgotten-password path should all come from your database provider’s own auth service. None of it is code worth having written for you, and all of it is code that is unpleasant to get subtly wrong. Keep it to email and password: your buyer signs in perhaps twice a year, and every extra step between wanting a ticket and holding one costs you some of them.

Smart role permissions (Buyer, Staff, Admin)

The template ships buyer, staff, and admin. Buyers reach their own orders and nothing else, admins run the organisation, and staff sit in between with exactly the powers the door needs (sell at the counter, scan a code, admit somebody) and none of the powers it does not, like editing prices or reading the takings. That middle role is the one worth getting right, because it is handed out to the most people and often to the ones you know least well.

Server-verified gate check-in

The check-in screen has to refuse to admit anybody when the account holding it is not staff for that event, checked on the server, on every scan. A door tool that trusts whatever device opened it is a door tool that a shared link turns into a free entrance.

Ironclad buyer data privacy

An orders page that narrows results in the component is one missing condition away from listing somebody else’s purchase, name, and email address. Row-level security moves that decision to the point the rows are handed out, which changes the failure: a query nobody remembered to scope returns nothing instead of returning everything.

Organisation-scoped access rules (90 policies)

The template ships 90 row-level security policies, and the count is structural rather than anxious: most tables need one rule for the buyer the row is about, another for the staff working that event, and a third for the admin who owns it, with every one of those also checking which organisation is asking.

Privilege escalation defense

Buyer, staff, and admin live in a roles table of their own, for one specific reason: whatever sits on an account is editable by whoever owns that account. Store the role there and a buyer can promote themselves to admin, at which point your box office, your takings, and every other buyer’s details belong to them too.

Unguessable, single-use QR tickets

Whoever holds it gets in, which makes it exactly as sensitive as a password and rather easier to forward. Generate it from something unguessable rather than from the ticket’s position in a list, redeem it once on the server, and record which device admitted it and when, so a duplicate at the gate is a question you can answer rather than an argument.

Secure automated business logic

Refunding an order, exchanging a ticket, or admitting somebody at the gate all need to do several things at once and to outrank the person asking. The template puts 13 of those on the server as edge functions, where they run with elevated privileges above the access rules and enforce the business rule themselves, which is why the access rules can stay strict without the app becoming unusable.

Automated database backups

The free tier keeps none: not your orders, and not the tickets you have already issued. Daily backups with a week of history begin on Supabase Pro at $25/mo. Read that line twice on this build in particular: an order table lost during the week of an event leaves several hundred people holding codes you have no way to check, and no way to reissue.

PromptCheck who can see what
Review the access rules (row-level security policies) on every table. For each one, tell me in simple terms who can view, add, edit, and delete records, confirm that people can only reach their own data while the right roles can reach more, and flag anything left open that shouldn’t be.

Paste this into the chat before launch so Bolt checks nobody can see data they shouldn’t.

The one rule that matters: the database service key, the secret your ticket codes are signed with, and any payment key you add later never belong in the app or in a public repo. If one of them gets out, assume it is compromised and rotate it that day.

Workflow rules

What speeds the build, and what slows it

Speeds the build

  • Using Plan Mode to talk a change through before Bolt writes any code
  • Pointing a prompt at specific files or functions instead of the whole project
  • Clearing Bolt’s context between unrelated features, so each prompt has less to process
  • Checking the live preview after each change, since it’s the running app itself
  • Reading the automatic GitHub commits later as a real history, not just a backup

Slows the build

  • Asking for a whole app in one prompt instead of one screen or rule at a time
  • Leaving context loaded from a finished feature while starting an unrelated one
  • Editing the repository directly on GitHub and expecting Bolt to pick it up before its next 30-second check
  • Approving several prompts in a row without checking the live preview after each one
Before you open Bolt

GitHub: the way in, not just a backup

Bolt can’t open a .zip file, so the only way to start a project is to import a GitHub repository. Every other tool in this set treats GitHub as optional, but Bolt treats it as step one.

Why this comes before Bolt

There’s no upload button for a folder or a .zip. Opening a project in Bolt means pointing it at a repository that already exists on GitHub, so a home for the code has to exist first.

Create a free account, then a repository

Sign up, then create a new, private repository for your project and push your files to it. Keep it private, and never commit secret keys or passwords.

Create a free GitHub account

Import it into Bolt

On bolt.new, connect your GitHub account, choose the repository from the list, and click “Import repository”. The project opens straight into a live preview.

After that, it stays in sync on its own

Bolt commits each working change back to that repository automatically, and checks GitHub every 30 seconds for anything pushed from outside it. A commit is a snapshot with a short note, like “added the home page,” and Bolt writes those notes for you.

Version control and GitHub, Bolt docs

It’s also how you leave, if you ever want to

The repository Bolt is syncing is a real, ordinary codebase: clone it, hand it to someone else, or keep working on it directly on GitHub whenever you’re away from the browser tab.

Going live

Where to host your application

Hosting gives your app a home on the internet so anyone can open it via a web link. Choose a service below to make your site live. (Your database, logins, and business records are stored separately in Supabase, covered below).

HostBest forNotesFree tier
VercelOne-click deploysConnect the repository once and every push goes live on its own, with nothing to configure for a Vite project. The line to read before your first on-sale is the plan terms: Hobby permits personal, non-commercial use only, and charging people for entry is commercial under any reading of it, so anything selling belongs on Pro at $20/user/mo.Pro from $20/user/mo (Hobby is non-commercial)
NetlifyDrag-and-drop or GitConnect the repository, or drag the built folder onto the page and be live in about a minute. It needs one redirect rule so that a link straight to a single event opens that event rather than a not-found page, which matters here, because a shared link is how most of your buyers arrive.Free tier
Cloudflare PagesHandling the on-sale spikeCopies of the site sit near your visitors rather than in one place, which is the property that matters on this build: a ticketing site is idle for weeks and then serves a month of traffic in about ninety seconds when tickets go on sale.Generous free tier
GitHub PagesNot really this appFree publishing straight out of your GitHub project, after changing one routing setting. Listed mainly to be ruled out: publishing free requires the repository to be public, and this one sits alongside an app holding your buyers’ names and email addresses, so the free path is one you would not want to take.Free from a public repo only
Firebase HostingTeams already on GoogleSet it up once, then release with a single command each time. The reason to choose it is almost always that your other accounts are already Google ones.Free Spark tier
AWS Amplify HostingTeams already on AWSPublishes from the AWS console, with one rewrite rule so a direct link to an event resolves. Worth choosing when AWS is already on your invoices and you would rather not add a vendor.Free tier (build + hosting)
SurgePublish from the terminalOne terminal command puts the built folder online, with no repository anywhere in the process. Good for showing a venue what the storefront looks like over coffee, though not for the address you print on a poster.Free - unlimited publishing
DigitalOcean App PlatformDigitalOcean usersBuilds and serves from the account that already holds whatever else you run. That consolidation is the whole reason to pick it over the rest of this list.Free - 3 static sites, 1 GB/mo transfer

Any of these will serve the app. Three things to check here rather than one. Does the plan allow commercial use? Vercel’s Hobby tier does not, and you are taking money. Can it publish from a private repository, given the code sits beside an app holding your buyers’ contact details. And does it give you HTTPS on a real domain, which on this build is a functional requirement rather than a nicety, for the reason below.

Your scanner will not open the camera unless the page is on HTTPS. Browsers only hand over a camera on a secure origin or on localhost, so a check-in screen opened over plain http, or on a bare address on the venue wi-fi, shows a permission failure and nothing else. Every host above gives you HTTPS on a real domain for free. Use it, and then test the scanner on the actual phone, at the actual door, before the doors open rather than while there is a queue.

Database & backend

Keep your data in Supabase

Events, orders, issued tickets, accounts, and whichever images you attach. This is also where the rules that outrank the person asking live: refunding, exchanging, and admitting somebody at the gate.

ServiceBest forNotesFree tier
SupabaseData, auth, functions, filesPostgres holds the events and the orders, auth covers all three kinds of account, edge functions carry the order, refund, and admit-a-ticket rules that have to outrank the person asking, and storage holds your event images. Opening a free project and handing over its URL and publishable key is the whole of the setup. Watch one line on the free tier: a project pauses after a week of nothing happening, and weeks of nothing happening is the normal state of a ticketing app between events.Free tier, then usage-based
AI workflows

Where AI genuinely helps an organiser

Each of these is one more prompt once the selling works. The template carries no outside keys, so the first one also creates the single server-side function the other three go through, with your key on it alone.

Write the event listing from the facts you already have

The description is the last thing done before an on-sale and usually the most rushed. Turning a date, a venue, a line-up, and three bullet points into a listing that reads properly is an edit rather than a writing task.

PromptWrite the event listing from the facts you already have
Add a "Draft the listing" action on the event form. Send the event name, date, door time, venue, ticket types with their prices, and any notes I have typed to a server-side function calling an AI model, and return a short summary line and a longer description in a tone I choose. Show them as editable drafts rather than saving them, never invent a detail I did not provide (no line-ups, no times, no claims about the venue) and leave anything it was not given blank instead of guessing.

Answer the questions your inbox keeps getting

Every event generates the same messages: is it accessible, can I bring a child, where do I park, what happens if it rains. Answering them from what you have already published is the least interesting hour of running an event.

PromptAnswer the questions your inbox keeps getting
Add a question box on the public event page that answers from that event’s own published details and my organisation’s standing information only, through my ai function. Retrieve the relevant text first and pass it in, keep the answer to what is in that text, and when there is no answer say so and offer the contact route rather than guessing. Never let it state a policy on refunds, entry, or accessibility that is not written in the source it was given.

Explain what actually happened at the door

Attendance against sales is the number that decides how much to print, how many staff to book, and how many to order for next time. It is buried across orders, tickets, and scans in three different shapes.

PromptExplain what actually happened at the door
Add a post-event summary that sends the aggregate figures for one event (tickets sold by type, revenue, how many were scanned in, when the arrivals happened across the evening, refunds and exchanges) to my ai function, and returns a short written read of it: how the sale went, what turnout looked like against what sold, and where the arrival peak fell. Send aggregate numbers only, never attendee names or email addresses, and have it state the figures rather than describing them vaguely.

Ask your own sales a question nobody built a report for

Whatever reporting you build answers the questions you had while building it. The questions that turn up later are things like which tier sold out first, whether March’s crowd came back in June, or which night people bought latest.

PromptAsk your own sales a question nobody built a report for
Put a question box on the admin dashboard that converts a plain-language question about my events into a single read-only lookup and renders the answer as a small exportable table. Constraints, all of them enforced rather than requested: describe the tables to the model instead of sending it any rows, permit SELECT and nothing else, run the query under the signed-in account so the same access rules that govern the rest of the app govern this too, exclude attendee names and email addresses from anything it returns, and print the query beside the answer so I can see what it actually asked.

Pick a lighter model for the high-volume prompts above and save a stronger one for wherever the reasoning actually matters. That is the same token-budget logic as the rest of this page, applied to the app’s own AI calls instead of the build itself. When Bolt flags a missing secret, add the key through its secrets settings instead of pasting it into the chat, and keep every AI feature behind one server-side function so there’s only one key to manage.

Ready-made option

Get a head start with our template

Don’t want to assemble the app step-by-step? Get the complete, fully-functional template. Connect your database, add your event details, and start selling tickets in an afternoon, no manual coding required.

Event Ticketing System

The exact ticketing platform this guide builds, packaged so you can open it, point it at your own backend, and make it yours from there. An event ticketing platform that takes you from selling tickets online to scanning people in at the door. Attendees buy in a few taps, your staff sell and check in on the day, and you keep an eye on orders and payments behind the scenes.

React 18ViteTypeScriptTailwind CSSSupabase
Out of the box

The key benefits of starting with a template

Skip weeks of backend coding, complex security tests, and edge-case debugging. Launch a complete, custom ticketing platform in under an hour.

Building the core from scratch

~122 hrs

Opening the template, already built

~1 hr

~121 hrs of building you skip

These measure two different things on purpose. The ~122 hrs is the cost of building the app. The ~1 hr is how long the finished one takes to open, aim at your own database, and load your first event into. Wiring up a payment rail and deciding your refund rules cost the same on both paths, so neither figure includes them.

A checkout that already holds stock

Ticket types carry what exists and what has gone, with a cap per order, and the order path moves both together rather than reading one and trusting it, which is the difference between a busy on-sale and an apology to the last four buyers.

Turnkey entrance & scanner toolkit

A camera scanner that admits a code once and refuses it the second time, a queue that holds scans when the signal drops and reconciles them when it returns, a counter till for walk-ups on the same stock as the website, and a maintenance job for when a barcode goes wrong at the worst moment.

Pre-configured roles & security

Buyer, staff, and admin accounts with 90 row-level security policies behind them, every one also checking which organisation is asking, plus 13 server-side functions for the rules that have to outrank the person asking, like refunding an order or admitting somebody at the gate.

Clean code optimized for AI prompts

Typed throughout, organised by feature rather than by file kind, and annotated wherever the reasoning would not be obvious to somebody reading it cold. That last part matters most around the order path: a change made there without following the pattern already in place produces the sort of bug that surfaces at a sold-out door, not in a test run.

Customer story

From founders who build on our templates

Starting with this template saved us dozens of hours of complex setup. Instead of building from scratch, I loaded the template into our AI assistant, customized the ticketing rules with simple prompts, and shipped a live platform in under several days.
Jeevan ThomasJeevan ThomasFounder & CEO, Hado.ai
Got questions?

Common questions

Not on its own. The template records orders and tracks their payment status, but the payment itself is simulated rather than real. No gateway is wired up, and no processor key sits anywhere in it. Connecting one is a described step rather than a rebuild, and doing it deliberately is the point: whichever rail you pick sets the fee on every ticket you sell, and that is the number this whole approach is about controlling.

No, and it is the half your AI coding tool handles best. Describe what you want in ordinary language and it produces the tables, the three kinds of account, the rules governing what each can reach, and the server-side functions behind creating an order or admitting somebody at the gate. Your one job is opening a free Supabase project for it to write into, which is also what keeps your events and your buyer list somewhere you own rather than somewhere you are renting.

The database, if you ask for it properly. The rule to insist on is that reserving stock and creating the order happen in one operation that cannot be interrupted, rather than a screen reading the remaining count and writing an order a moment later. Ask to see it proved with two orders landing at the same instant on the last ticket, a demonstration, not a description, because this is the bug that only appears when the event is going well.

It can, and this is worth specifying before it is built rather than after. The pattern is that the device holds the list of valid codes for that event, admits against what it already knows, queues each scan locally, and reconciles when signal returns. What you decide is how it should behave in the gap. Most organisers would rather admit a genuine attendee and catch a duplicate on reconciliation than hold up a queue, but that is a policy call and the code should reflect the one you actually made.

Not without building it. This template sells general admission: each ticket type has a number and buyers take from it. Reserved seating is a genuinely different application: a plan of the room, a hold on individual seats while somebody checks out, and a picker that stays usable on a phone. It is describable in plain words like anything else here, but it belongs in the plan before the data model rather than as an addition afterwards.

Not as it stands. Orders and tickets are shown in the app, and a buyer with an account can always come back and find theirs, which covers the common case of a lost email. Sending confirmations means connecting an email service, which is a small, well-defined addition, and one worth making before a real on-sale, because a ticket somebody can only reach by signing in is a support message waiting to happen.

Two things, both with a free tier: somewhere to keep the data and somewhere to serve the app. Supabase Pro, from $25/mo, is the upgrade to make once a real event depends on it, and the reason is less about size than about sleep. A free project shuts down after seven quiet days, and quiet is what a ticketing app is between events. Past those two lines, the only cost tied to a ticket is whatever your payment rail charges. Nothing else takes a cut.

Yes. That is built in rather than bolted on. Events, orders, and staff all belong to an organisation, and the access rules check which one is asking on top of checking the role, so a promoter running three rooms or an agency running events for several clients keeps them properly separate rather than filtered apart on screen.

Nothing here is proprietary. Events, orders, tickets, and check-in records live in ordinary PostgreSQL, so a standard dump gives you everything in a form any Postgres host accepts. That matters more than usual in this category: the buyer list is the asset, and the reason organisers stay on platforms they have outgrown is normally that the list will not come out.

Yes, and do it before you announce anything. Every host listed above attaches one in a few clicks with HTTPS included, and you are about to ask strangers to type card details into a page. A name they recognise as yours does most of that reassuring on its own. The HTTPS half is not merely cosmetic here either, because the check-in scanner cannot open a camera without a secure address.

No. You describe what you want in the chat and Bolt writes the code and shows it running in the same tab. The one extra step Bolt asks for that other browser tools don’t is a GitHub account, since that’s how a project gets in. The setup section above covers it.

Bolt only opens projects from a GitHub repository, and it offers no upload button for a folder. Once it’s imported, Bolt keeps the two in sync automatically, so the extra step up front replaces a manual export later.

Free resets daily, and a paid plan’s monthly allotment resets on your billing cycle (unused Pro tokens also roll over one extra month). If you hit the cap mid-session, what you’ve built stays exactly as it is. You wait for the reset or buy more tokens to keep going right away.

References

Sources checked August 2026
  1. 01Tickets for Live Entertainment Events (CRS report R48179, April 2026 update). everycrsreport.com (CRS report updated April 2026)
  2. 02Event Ticket Sales: Market Characteristics and Consumer Protection Issues, U.S. GAO. gao.gov (published 2018)
  3. 03Pricing (service fee and payment processing per ticket), Eventbrite. eventbrite.com
  4. 04Pricing (per-ticket fee, free events, Stripe option), Universe. universe.com
  5. 05Pricing (flat per-ticket fee, low-price and box office rates), TicketSpice. ticketspice.com
  6. 06Pricing (booking fee, charity rate, free events), Humanitix. humanitix.com
  7. 07Pricing (Pro plan, egress, backups, free-tier pause), Supabase. supabase.com
  8. 08Web developer hourly rates 2026 (freelance and agency benchmarks). developex.com
  9. 09Row Level Security, Supabase docs. supabase.com
  10. 10Storage access control, Supabase docs. supabase.com
  11. 11Pricing (Free, Pro, Teams), Bolt. bolt.new
  12. 12Version control and GitHub, Bolt docs. support.bolt.new
  13. 13Connect Supabase, Bolt docs. support.bolt.new
  14. 14What is Bolt Cloud?, Bolt docs. support.bolt.new
  15. 15Netlify deployment (and Bolt hosting by default), Bolt docs. support.bolt.new
  16. 16Maximizing token efficiency, Bolt docs. support.bolt.new

This guide is general information, not legal, tax, or accounting advice. Consumer rules on how ticket prices and fees must be displayed, what refunds are owed when an event is cancelled, and how attendee data may be used vary by country and by state, so check your own rules before you sell anything. Third-party fees, plan terms, and market rates are quoted from the sources above and were last checked on the date shown. Vendors change them without notice, so confirm before you budget. Build hours and the cost estimates derived from them are our own estimates, not quotes. Bolt is a product of StackBlitz. Verify current capabilities and pricing before relying on them.