API Contract
The single REST endpoint, full request and response shapes, Bean Validation rules, and what happens when validation fails.
The single REST endpoint, full request and response shapes, Bean Validation rules, and what happens when validation fails.
The entities, DTOs (Java Records), and enums that represent the core concepts of a loan application — and why each was designed the way it was.
How GlobalExceptionHandler uses @RestControllerAdvice to intercept validation failures and unexpected errors and convert them into structured JSON responses.
A Spring Boot REST service that evaluates loan applications using risk classification, EMI calculation, and eligibility rules — covered layer by layer.
How LoanApplication is mapped to H2 using JPA @Embeddable value objects, @ElementCollection for rejection reasons, and @PrePersist for UUID generation.
What the Loan Application Evaluator does, why it exists, its tech stack, and how to run it locally.
Quick-reference summary of the Loan Application Evaluator project — architecture, key patterns, tech stack decisions, and top interview talking points.
How the LoanApplicationService evaluates a loan — risk classification, interest rate calculation, EMI formula, and the two-tier eligibility check — step by step.
How LoanApplicationService is unit-tested with JUnit 5 and Mockito — covering risk classification, EMI calculation, and all eligibility rules using @Nested test classes.