Skip to content

amithkumarg/restapi-springboot-jpa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This project exposes REST Api built on spring boot with jpa

Technology Stack

  • Spring-Boot
    • Spring-Boot-JPA
    • Apache Tomcat
  • Lombok
  • H2 Database

Supported Service calls

  • /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)

Donation

If this project help you reduce time to develop, you can buy me a cup of coffee :)

paypal

About

REST Api with spring-boot & jpa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published