A full-stack web application built with Spring Boot (Java) for the backend and React.js for the frontend. This platform enables users to browse events, book tickets, and manage participation, with role-based access for Admin, Organizer, and User.
- Sign up, log in, and manage profiles
- Browse upcoming events
- Book tickets and view booking history
- Create and manage events
- View ticket bookings for their events
- Manage users, organizers, and events
- Approve or reject event listings
Frontend
- React.js
- Axios (API calls)
- React Router
- Bootstrap / Tailwind CSS
Backend
- Spring Boot
- Spring Security
- Spring Data JPA
- MySQL / PostgreSQL
- JWT Authentication
Tools
- Maven – dependency management
- Eclipse / IntelliJ – backend development
- VS Code – frontend development
- Postman – API testing
BookMyEvent/
├── backend/
│ ├── src/main/java/com/...
│ └── pom.xml
├── frontend/
│ ├── src/
│ ├── public/
│ └── package.json
├── README.md
git clone https://github.com/SARVESHYOGI/BookMyEvent.git
cd BookMyEventPrerequisites:
- ☕ Java 17+
- 📦 Maven
- 🛢️ MySQL / PostgreSQL
Steps:
- Navigate to the backend directory:
cd backend - Edit
application.properties:spring.datasource.url=jdbc:mysql://localhost:3306/event_ticket spring.datasource.username=your_db_username spring.datasource.password=your_db_password spring.jpa.hibernate.ddl-auto=update jwt.secret=your_jwt_secret_key
- Run the backend:
mvn spring-boot:run
Prerequisites:
- 🟢 Node.js v18+
- 📦 npm or yarn
Steps:
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Start the frontend:
App runs at: http://localhost:3000
npm start
- JWT-based token authentication
- Role-based access for
USER,ORGANIZER, andADMIN
Test with Postman or Swagger:
POST /api/auth/loginPOST /api/auth/registerGET /api/eventsPOST /api/ticketsGET /api/admin/*
- 💳 Payment integration (Stripe / Razorpay)
- 📧 Email notifications for ticket confirmations
- 📱 QR code-based ticket validation
- 🔍 Event search & filtering
- ⭐ User reviews & ratings
Contributions are welcome!
- Fork the repo
- Create a feature branch
- Commit changes
- Submit a Pull Request 🚀
This project is licensed under the MIT License.
Created by Sarvesh Yogi
💼 Feel free to connect!