The platform lets you create events, define ticket types with pricing, inventory, and dates, manage orders and customers, and process payments securely. The Payload admin panel provides full control over content and transactions. The architecture is modular, with separate features (checkout, events) and typed APIs.
Key features
- Events: name, localized rich‑text description, location, human‑readable dates, active/inactive status.
- Tickets: linked to an event, with name, description, optional schedule, price in cents, currency, inventory (
capacity, soldCount, soldOut), active status, and sort order. - Orders: purchase tracking with
orderId, customer, event, ticket, status (pending, paid, failed, canceled), amount, quantity, billing info, and coupon. - Stripe checkout: payment sessions, webhooks for
checkout.session.completed, checkout.session.expired, payment_intent.failed. - Automatic inventory: hooks update
soldCount and soldOut on the ticket when an order becomes paid. - Multilingual: next-intl with IT/EN messages and locale‑based routing.
Data layer & integrations
- Payload CMS 3 with MongoDB adapter for collections (events, tickets, orders, customers, users, media).
- Stripe for payments and webhook handling.
- tRPC + React Query for typed calls (
checkoutRouter, eventsRouter). - Zod for validation.
- Vercel Blob for media.
Security & access
admin and user roles with granular permissions (e.g., orders visible only to the owning customer or admin).- Stripe webhooks with signature verification and idempotency.
- Secure cookies and sessions.
UI/UX and performance
- Tailwind CSS 4 + Radix UI for accessible components.
- Sonner for toasts, Lucide for icons.
- Dark mode, responsive layout, tuned LCP/CLS.
- Biome for linting/formatting.
Technical highlights
- Next.js 16 + React 19 + TypeScript.
- Payload 3 (MongoDB), Vercel Blob media.
- Stripe (checkout, webhooks, automatic inventory).
- tRPC 11 +
superjson + React Query. - next-intl for i18n (IT/EN).
- Zod, Tailwind 4, Radix UI, Biome.
- Docker Compose for local MongoDB in development.