Skip to content

Tendwa-T/tickets-v3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎟️ Simple Ticketing System

Java
Spring Boot
Stripe
MySQL


πŸ“– About the Project

This is a Simple Ticketing System built with Java + Spring Boot.
It provides event organizers with tools to manage events, venues, and tickets while allowing attendees to purchase tickets securely via Stripe.


✨ Features

πŸ‘€ User Features

  • πŸ“… Create Events
  • 🎟️ Create Ticket Types for each Event (VIP, Regular, etc.)
  • 🏟️ Add Venues and define their capacity
  • πŸ’³ Buy Tickets via Stripe integration

πŸ› οΈ Admin Features (future roadmap)

  • πŸ‘₯ Role-based access control (Admin / Organizer / Attendee)
  • πŸ“Š Dashboard for managing events and ticket sales
  • πŸ”’ Authentication & Authorization (JWT-based)

πŸ—οΈ Tech Stack

  • Backend: Java 24, Spring Boot
  • Database: Mysql (JPA/Hibernate for ORM)
  • Payments: Stripe
  • API Docs: SpringDoc / OpenAPI (Swagger UI)
  • Build Tool: Maven

πŸš€ Getting Started

βœ… Prerequisites

βš™οΈ Installation

# Clone the repo
git clone https://github.com/Tendwa-T/tickets-v3.git

# Navigate into project
cd tickets-v3

# Build the project
mvn clean install

▢️ Running the App

# Run with Maven
mvn spring-boot:run

The app should now be running at:
πŸ‘‰ http://localhost:8080


πŸ’³ Stripe Integration

  • Configure your .env or application.yml with your Stripe keys:
stripe:
  secret-key: sk_test_12345
  publishable-key: pk_test_12345
  webhook-secret: whsec_12345
  • Start Stripe CLI to forward webhooks:
stripe listen --forward-to localhost:8080/api/v1/webhook

πŸ“‘ API Endpoints (Sample)

Method Endpoint Description
POST /api/v1/events Create a new Event
POST /api/v1/tickets Create Ticket Types
POST /api/v1/venue Add Venue
POST /api/v1/checkout Purchase Tickets (Stripe)

(Swagger UI available at /swagger-ui.html)


About

A Ticketing System based off of Java with lots of room for improvement 😁

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages