This project exposes REST Api built on spring boot with jpa
- Spring-Boot
- Spring-Boot-JPA
- Apache Tomcat
- Lombok
- H2 Database
-
/events [GET]
- get all events & its inventory details -
/events/{eventcode} [GET]
- get only request event & its inventory detail -
/events [POST]
- get only list of events matching the provided filters
REQUEST
{
"type": "object",
"required": [],
"properties": {
"eventCode": {
"description": "filter by event code",
"type": "string"
},
"aisle": {
"description": "filter by aisle seats ?",
"type": "boolean"
},
"available": {
"description": "filter by available seats ?",
"type": "boolean"
},
"seatType": {
"description": "filter by seat type (adult|child) ?",
"type": "string"
}
}
}
RESPONSE
int (Count based on supplied filter)
If this project help you reduce time to develop, you can buy me a cup of coffee :)