This is a Next.js project bootstrapped with create-next-app
.
A complete event ticket system built with Next.js 15 and Supabase, featuring ticket generation, verification, and party management capabilities.
The application includes feature flags to control the display of party-related features:
Add these to your .env.local
file:
# Feature Flags
NEXT_PUBLIC_SHOW_TICKET_GOALS=false # Controls ticket goals and progress meters
NEXT_PUBLIC_SHOW_PARTY_INFO=false # Controls party information display
NEXT_PUBLIC_SHOW_TICKET_GOALS
true
: Shows ticket goals, progress meters, and achievement trackingfalse
: Hides all goal-related features across the applicationNEXT_PUBLIC_SHOW_PARTY_INFO
true
: Shows party promotional content and event informationfalse
: Hides party-related sections (useful after event ends)true
to show all featurestrue
for live trackingfalse
to hide party contentNEXT_PUBLIC_SHOW_PARTY_INFO=true
and NEXT_PUBLIC_SHOW_TICKET_GOALS=false
to show party info without goalsFirst, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Geist, a new font family for Vercel.
.env.local.example
to .env.local
src/
├── app/ # Next.js app router pages
├── components/ # React components
│ ├── site/ # Site-wide components
│ ├── tickets/ # Ticket-related components
│ └── ui/ # UI components
├── lib/ # Utility libraries
│ ├── feature-flags.ts # Feature flag configuration
│ ├── ticket-service.ts # Ticket business logic
│ └── party-config.ts # Event configuration
└── types/ # TypeScript definitions
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
For detailed ticket system documentation, see TICKETS_README.md.
MIT License - see LICENSE file for details.