Ambula Cricket Stats
As a member of technical expertise for a cricket board you need write RESP APIs to find following details
CRUD OPERATION
1. Create an API to insert players detail.
2. Update Player details
3. Delete Player details
GET OPERATION
1. Get player detail by passing the player ID
2. Get the player list with an average score more than X. Where X is a number.
3. Get Player List By country.
4. Get a List of players in sorted order whose average scores are more than Y. where Y is number.
If two players have the same average, then the elder player will get the priority.
Player Detail
1. ID
2. Name
3. Date of birth
4. Match ID
Match Detail
1. ID
2. Score
3. Stadium
• Use Java 11+ and Spring-boot to create the Application.
• Use HSQL in memory DB.
• Use Gradle as a build tool.
• Only Admin users can do the CRUD operation.
• Write code with minimal code smell.
• Write Junit for the service class.