A simple event ticket booking system built with Ruby on Rails. This application allows users to create events, book tickets, and handle concurrency issues during ticket booking.
https://ticket-booking-wogf.onrender.com/
- User Authentication: Users can register, log in, and log out using Devise.
- Event Management:
- Create events with details like name, description, location, date, and total tickets available.
- View a list of all events.
- Ticket Booking:
- Book tickets for events while ensuring no overselling using optimistic locking.
- Concurrency handling with retries for conflict resolution.
- Pagination: Paginated views for events and tickets.
- Error Handling: Friendly error messages for ticket booking conflicts.
https://github.com/jaspreet-3911/ticket-booking.gitbundle install
rails db:create
rails db:migraterails serverhttp://localhost:3000bundle exec rspec