Here's a streamlined README for your GitHub repository:
A Java Spring Boot application for managing events, venues, and organizers with a MySQL database.
- Manage Events: Create, retrieve, update, and delete events.
- Manage Venues: Create, retrieve, update, and delete venues.
- Manage Organizers: Create, retrieve, update, and delete organizers.
- Relationships:
- An event is organized by one organizer.
- An event takes place at one venue.
- One venue can host one event.
- An organizer can organize multiple events.
- Java Spring Boot
- MySQL
- Spring Data JPA
-
Clone the Repository
git clone https://github.com/kalyankarsatish1234/event-management-system.git cd event-management-system
-
Configure Database
Create a MySQL database and update the
application.properties
file:spring.datasource.url=jdbc:mysql://localhost:3306/event_management spring.datasource.username=root spring.datasource.password=yourpassword spring.jpa.hibernate.ddl-auto=update
-
Build and Run
mvn clean install mvn spring-boot:run
-
Access the Application
The application will be available at
http://localhost:8080
.
- Create Organizer:
POST /api/organizers
- Get Organizer by ID:
GET /api/organizers/{id}
- Update Organizer:
PUT /api/organizers/{id}
- Delete Organizer:
DELETE /api/organizers/{id}
- Create Venue:
POST /api/venues
- Get Venue by ID:
GET /api/venues/{id}
- Update Venue:
PUT /api/venues/{id}
- Delete Venue:
DELETE /api/venues/{id}
- Create Event:
POST /api/events
- Get Event by ID:
GET /api/events/{id}
- Update Event:
PUT /api/events/{id}
- Delete Event:
DELETE /api/events/{id}
- Get Events by Organizer:
GET /api/events/organizers/{organizerId}
Feel free to open issues and submit pull requests.
MIT License. See the LICENSE file for details.
This README provides a concise overview and setup guide for your project.