A Java Spring Boot application that supports a RESTful API.
When given an age (e.g., 45) the service will pull person records for people aged 45 years; when given a name (e.g., Deepak) the service will pull a person record.
Person
String Name
Date Dob
String Address
int Height
int Weight
Integer Age
The application employs an in-memory H2 database and the API can be tested using Postman.
To run:
$ mvn spring-boot:run
/person/id/{personId}
/person/name/{personName}
/person/age/{personAge}
/persons
/person/add
/person/update/{personId}
- Implement Swagger
- Write tests