How to build an event ticketing system with v0
Build your own ticket storefront in the browser and wire it to a real database. Screens first, then the order route that cannot oversell, the QR tickets, and the scanner, each described in a chat and committed to a branch you merge.
v0
$ Build the screens for a ticketing platform: browse events, an event page with ticket types and prices, a checkout, a "my tickets" page with a QR code, and a staff scanner, then connect a database and the routes that make them real.
- Screens generated
- Database and routes wired
- Ready to merge
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
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.
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.
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.
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.
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.
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.
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.
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 · HumanitixWhat 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
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
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
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
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.
Why build with v0
v0 starts with the screens: forms, tables, dashboards, whatever the interface needs, generated in React and Next.js from a plain description. That’s the part most people notice first, because it’s fast and it looks finished immediately.
The backend isn’t automatic in the same way. v0 can write it too, meaning Next.js routes and server logic that read and write real data, but you ask for it, usually once the UI already exists and there’s something real to connect it to:
Sketch
Describe the screen or component you want.
Preview
See it rendered live, and select any part of it to adjust directly.
Connect
Add a database and the routes that read and write to it, once the UI needs somewhere real to save.
Iterate
Prompt again for the next screen or the next piece of logic.
The order matters here more than with a full-app builder: v0 gets you a finished-looking interface fast, and the data underneath doesn’t show up until you ask for it and give it somewhere to live.
One clickconnects a database
Supabase, Neon, and Upstash are integrations you add from the project menu once a screen needs to hold onto something real, and v0 provisions the credentials and writes the routes that use them.
Live preview is the feedback loop
Every prompt updates the working interface right there in the chat, so you see the actual screen changing instead of imagining it from a description.
Design mode edits without a prompt
Select an element in the live preview, adjust its style directly or type a plain-language instruction, and v0 applies the change back to the real source code as a new version.
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 v0
From scratch, with v0- v0
- $0 ($5/mo of credits) to $30+/month (Plus)
- Backend (Supabase)
- Free tier · $25/month (Pro plan)*
- Hosting (Vercel)
- Free on Vercel’s Hobby plan
- Your time
- ~122 hrs
Free to try the idea, ~$30+/month on Plus while you build a real one, then whichever plan you keep using
v0 bills in dollars of credit rather than a flat fee, so cost tracks usage: importing the pre-built template can fit inside Free’s $5 a month, while a from-scratch build runs into Free’s 7-messages-a-day cap quickly and usually needs Plus, at $30 per user per month with no annual discount shown. Because v0 generates the interface and the backend as separate steps rather than one pass, expect more prompts to reach the same result than a tool that writes both together.
* 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, v0.app, v0.app and vercel.com, checked August 2026.
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.
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.
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.
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.
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.
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.
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.
Comparing your build options
Where you start decides how much of the work is interface and how much is the machinery under it. Here is one app three ways: fully by hand, on a UI kit with nothing behind it, or in v0, where the screens come first and the database follows when you ask.
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.
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.
Describe a screen and see it immediately, then connect a database and ask for the routes that make it real. The same task list, worked in two passes rather than one, with each chat committing to its own branch.
Estimate your exact build timeframe
Select the features your event platform needs. Uncheck what you don’t use to see your custom setup timeframe.
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.
Let’s set up the tools you need
v0 runs entirely in the browser too, so there’s no download and no terminal. Before step 01: sign up, pick a plan, and know that a database is one click away once a screen actually needs to save something. GitHub is the last piece, and it’s what turns the chat into a project you can hand to someone else.
v0 account
Sign in with a GitHub, Google, or email account and you land in a chat where you describe the interface you want. There’s nothing to install.
Sign up for v0v0 subscription
Free includes $5 of credits a month, capped at 7 messages a day, which is fine for trying a few screens and thin for a real build. Plus is $30 per user per month, billed monthly only (v0’s pricing page shows no annual option), and it’s the realistic floor once you’re iterating past a handful of screens.
Compare v0 plansDatabase (Supabase, Neon or Upstash)
Where your project keeps its data, added when a screen needs one. v0 generates the interface first. A database is a one-click integration you add from the project menu once a screen needs somewhere real to save to, with Supabase, Neon and Upstash as the options, and connecting one lets v0 write the routes that use it.
Connect a database in v0GitHub connection
Not needed to build anything, since v0 keeps its own history of every change. Connect a repository from the chat’s Git panel and v0 also commits every code-changing message to its own branch, ready to merge as a pull request. That is the step that turns the chat into a project other tools, and other people, can use.
Connect v0 to GitHubThe database step is the one worth not skipping once your screens need real data. Everything else here takes a couple of minutes, and after that you’re just describing what you want.
Build your ticketing platform, one chat at a time
v0 generates the interface first and the backend when you ask for it, which suits this build better than it might seem: a ticket storefront is one of the few apps where showing somebody the buying flow early genuinely changes what you build. The order below leans into that, then gets deliberate about the two parts no preview can show you.
- 01
Sketch the storefront first, because that is what v0 leads with
Screens with placeholder events, in one chat. The point is to look at the path from browsing to buying before anything is stored anywhere.
PromptSketch the storefrontBuild the public screens for an event ticketing platform in Next.js, using placeholder data for now. A browse page with search and a date filter. An event page showing the dates it runs, each ticket type with a name, a price, and how many are left, and a quantity picker that respects a maximum per order. A checkout summary. An order confirmation. Include one event with early-bird and standard prices on the same date, so I can see how two tiers read on one page. Keep it responsive, because most of my buyers arrive on a phone from a link somebody shared.
Use Design mode for the visual corrections rather than describing them. Spacing, emphasis, and how prominent the price is are exactly what it is for, and describing them in words costs messages you would rather spend on the order logic.
- 02
Connect the database and let the screens read real events
The hand-off. Add the integration from the project menu, then ask for the schema and the routes that replace the placeholders.
PromptModel the events and connect the databaseI have connected a Supabase integration to this project. Design the schema and the routes that read it, then replace the placeholder data in the screens you already built. Organisations own venues and events. An event carries a title, description, image, status, and its organisation. A performance is one date of an event with a start time, a door time, and a capacity, because an event can run more than once. A ticket type belongs to a performance and carries a name, a price, an allocation, a sold count, and a maximum per order. Seed two organisations and three events between them, one with two price tiers on the same date. Write server-side routes for browsing and for a single event, and wire the existing pages to them. Nothing writes yet.
Do this before building any more screens. Everything after this point either reads or writes real rows, and a screen designed against placeholder shapes gets rebuilt the moment the real ones differ.
- 03
Ask for the order route, and make it refuse to oversell
The first thing here that writes, and the hardest thing in the build. Give it its own chat, because you may need to restore a version and you do not want the storefront coming back with it.
PromptBuild the checkout that cannot oversellStart a new chat for the order path. Two tables: an order, which records which performance it is for, who bought it and at what email address, whether it is pending, confirmed, or cancelled, whether it came from the website or the counter, and what it came to. A ticket points at one order and one ticket type. Now the part that decides whether any of this works. Write a database function that takes a row lock on the ticket type, compares its allocation with the sold count, and inside a single transaction either writes the order, writes its tickets, and raises the sold count, or writes nothing and returns a reason. Reading what is left and writing the order afterwards is the thing I am asking you not to do. Reach it only through a server-side route, so no browser ever touches that count. Pending orders expire after a hold window, released by a job you also add. Finish by firing two orders at the last two tickets simultaneously and telling me what each one got back.
Keeping this in its own chat is the practical part of the advice. Version history here is one straight line per chat, so restoring an earlier order attempt in a chat that also holds your storefront takes the storefront back with it.
- 04
Roles and access rules, in a separate chat
Buyers, staff, and admins over the same tables, with every rule checking the organisation too. Its own chat again, and its own pull request.
PromptAdd auth, roles, and access rulesNew chat, for authentication and access rules. Add email-and-password sign-up, login, logout, and a persisted session. Add three roles (buyer, staff, admin) in a separate table rather than on the account record, since anything stored there is editable by its owner, with one security definer function to check a role and another to check organisation membership. Then row-level security across organisations, events, performances, ticket types, orders, tickets, and scans, 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 but not touch prices or takings, an admin is confined to their own organisation. Explicit with-check clauses on inserts and updates. Then prove it by querying as a buyer and showing me that another buyer’s orders and another organisation’s events come back empty.
Open the pull request for this one on its own rather than piling it on top of the order work. Access rules are the change you most want to be able to read as a single reviewable diff later.
- 05
The door as its own chat: scanner, tickets, and till
The one part of this build that is not really an interface problem, on the tool that leads with interfaces. Be explicit about what belongs on the server.
PromptBuild the doorNew chat for the door. Start with the ticket itself: each one gets a code nobody could arrive at by looking at another one, presented as a QR on a "My tickets" page the buyer can open whenever they like, downloadable. Then the scanning screen, restricted to staff, driving the device camera. It reads a code, hands it to a server-side route, and puts the verdict on screen in type somebody can read while holding the phone at arm’s length: let them in, already used and here is when and on which device, that is for a different event, or that one was refunded. Both the checking and the marking-as-used belong in the route rather than the component, and the route has to behave correctly when the same code arrives twice in the same instant. Then handle losing the network: keep that event’s valid codes on the device, decide from that copy while the connection is down, hold the scans in a queue, settle up on reconnect, and raise a flag over anything that turns out to have gone through twice. Last, a counter till for people arriving without a ticket, drawing on the same stock as the website and able to take cash.
Say "in the route, never in the component" explicitly and check the diff for it. A scanner is a screen, and a tool that generates screens first will happily put a decision on the device that has to live on the server.
- 06Destination
Refunds and reports, then merge and deploy
The back office, a full rehearsal on a real phone, and only then the merge that publishes it.
PromptAdd the back office and rehearseLast chat. Refunding and exchanging both belong in server-side routes. Refunding kills the tickets on an order, hands their stock back to the allocation they came from, and leaves a record of who authorised it and on what grounds. Exchanging voids what the buyer held, issues fresh tickets with fresh codes, and squares up whatever difference in price that created. After those, the admin pages covering events, orders, payments, and venues, and the reporting: what each ticket type sold, what that came to, scanned against sold, and how arrivals were distributed across the evening, all four available as CSV. Then walk an entire event with me from one end to the other, starting at publishing it and finishing with the reports, and including at least one ticket presented twice and one order refunded, so I can see both the failure path and the stock coming back.
Do the rehearsal before you merge, not after. Merging is what puts this in front of buyers if your base branch is the one the linked Vercel project deploys from, and a scanner is not something to test in production.
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.
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 v0 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.
What speeds the build, and what slows it
Speeds the build
- One screen per message, checked in the live preview before you ask for the next one
- Adding a database as soon as a screen needs to remember something, so v0 wires it up as it builds
- Clicking the thing you want changed in Design mode, rather than describing where it sits
- One feature per chat, so its history reads as a straight line you can walk back
- Sending a finished chat over to GitHub before starting the next feature, rather than stacking several together
Slows the build
- Asking for the whole app in one message instead of one screen at a time
- Building screens for data the database does not hold yet
- Describing which button to change when you could just click it
- Letting one chat run for weeks, so going back to an older version undoes everything built after it
- Approving several messages in a row without looking at the preview after each one
Connecting GitHub (Optional)
Every change in v0 is saved automatically without any technical setup. You only need to link GitHub if you want a private copy under your own control or plan to hand the codebase over to external developers.
Every message is a version
Each time a message changes your code, v0 saves it as a new version. Restoring an older one adds it back as the newest version instead of branching, so the history stays one straight line.
Versions, v0 docsUndo from the chat itself
Scroll back through the conversation and click the revert arrow on any earlier reply, or open the version number in the top right to jump straight to a specific one.
Connecting GitHub creates a real repository
From the chat’s Git panel, connect an existing repository or create one. v0 never writes straight to your main branch: every code-changing message is committed to its own working branch first.
GitHub integration, v0 docsA pull request is how it gets merged
When you’re ready, publish and open a pull request from that working branch into your base branch, review it like any other, and merge it. Starting a new chat picks up a fresh branch for the next round of changes.
This can also be v0’s deploy path
If the branch your pull requests merge into is also the linked Vercel project’s production branch, merging one triggers a production deployment. If it isn’t, the merge just follows whatever branch behavior that Vercel project is already configured with.
GitHub integration, v0 docsWhere 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).
| Host | Best for | Notes | Free tier |
|---|---|---|---|
| Vercel | One-click deploys | Connect 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) |
| Netlify | Drag-and-drop or Git | Connect 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 Pages | Handling the on-sale spike | Copies 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 Pages | Not really this app | Free 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 Hosting | Teams already on Google | Set 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 Hosting | Teams already on AWS | Publishes 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) |
| Surge | Publish from the terminal | One 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 Platform | DigitalOcean users | Builds 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.
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.
| Service | Best for | Notes | Free tier |
|---|---|---|---|
| Supabase | Data, auth, functions, files | Postgres 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 |
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.
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.
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.
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.
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.
v0 doesn’t ship its own model for these prompts, so you bring an API key for whichever provider you want, and v0 writes the route that calls it. Start with a cheap model while you’re still iterating on the prompt itself, then swap in a stronger one for the version that ships, and keep every AI feature behind that one route so there’s only one key to rotate.
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.
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.
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 ThomasFounder & CEO, Hado.aiCommon 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 the screen you want in the chat and v0 generates the React and Next.js code behind it. Sign up, pick a plan, and connect a database once your screens need real data. The setup section above walks through each one.
Both, but not automatically at the same time. v0 generates the interface first. The backend (a database and the API routes that use it) is something you ask for once a screen actually needs to save or load real data.
Free plan credits reset monthly, and the 7-messages-a-day cap resets every day. If you hit either limit mid-build, what you’ve already built stays put. You wait for the reset or move up to Plus to keep going right away.
References
Sources checked August 2026- 01Tickets for Live Entertainment Events (CRS report R48179, April 2026 update). everycrsreport.com (CRS report updated April 2026)
- 02Event Ticket Sales: Market Characteristics and Consumer Protection Issues, U.S. GAO. gao.gov (published 2018)
- 03Pricing (service fee and payment processing per ticket), Eventbrite. eventbrite.com
- 04Pricing (per-ticket fee, free events, Stripe option), Universe. universe.com
- 05Pricing (flat per-ticket fee, low-price and box office rates), TicketSpice. ticketspice.com
- 06Pricing (booking fee, charity rate, free events), Humanitix. humanitix.com
- 07Pricing (Pro plan, egress, backups, free-tier pause), Supabase. supabase.com
- 08Web developer hourly rates 2026 (freelance and agency benchmarks). developex.com
- 09Row Level Security, Supabase docs. supabase.com
- 10Storage access control, Supabase docs. supabase.com
- 11v0 homepage. v0.app
- 12Pricing (Plus, Business), v0. v0.app
- 13Pricing details (Free tier, credit rollover), v0 docs. v0.app
- 14Databases (connecting Supabase and others), v0 docs. v0.app
- 15Full-stack apps, v0 docs. v0.app
- 16GitHub integration, v0 docs. v0.app
- 17Deployments, v0 docs. v0.app
- 18Design mode, v0 docs. v0.app
- 19Versions, v0 docs. v0.app
- 20Pricing (Hobby plan), Vercel. vercel.com
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. v0 is a product of Vercel. Verify current capabilities and pricing before relying on them.