Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicketSwift 🎫

A robust Event Booking REST API built with Spring Boot and PostgreSQL.

TicketSwift is a backend service designed to handle event creation, management, and real-time ticket reservations. It ensures data integrity through transactional processing and enforces business rules for seat availability.

🚀 Features

  • Event Management: CRUD operations to manage events, locations, and pricing.
  • Smart Search: Custom JPA queries to filter events by location (case-insensitive).
  • Transactional Booking: Atomic booking process that ensures seats are never overbooked.
  • Data Integrity: Strict database constraints using Jakarta Persistence (JPA).
  • Automated Schema: Real-time database synchronization with Hibernate.

🛠️ Tech Stack

  • Framework: Spring Boot 3.5.12
  • Language: Java 21
  • Database: PostgreSQL
  • ORM: Spring Data JPA / Hibernate
  • Tooling: Lombok, Maven, Postman

📋 API Endpoints

Events

Method Endpoint Description
GET /ticketswift/events Fetch all available events
POST /ticketswift/events Create a new event
GET /ticketswift/events/{id} Get event details by ID
GET /ticketswift/events/search?location=pune Search events by location

Bookings

Method Endpoint Description
POST /ticketswift/bookings Book tickets (updates available seats)

⚙️ Installation & Setup

  1. Clone the repository:
    git clone [https://github.com/tan-byte/ticketswift.git](https://github.com/tan-byte/ticketswift.git)

About

A RESTful API+ SpringBoot + PostgreSQL project which handles real time ticket booking and event making functionalities

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages