Skip to content

Spring Boot REST API

A layered Spring Boot REST API used as the reference shape for Spring Boot Bootstrap.

  • Expose a small resource API (for example, customers)
  • Keep controller, service, and persistence concerns separated
  • Validate input and return consistent error responses
  • Enable Actuator health
  • Include automated tests
Skill Status
Spring Boot Bootstrap Available
src/
├── main/
│ ├── java/
│ │ └── com/example/app/
│ │ ├── Application.java
│ │ └── customer/
│ │ ├── CustomerController.java
│ │ ├── CustomerService.java
│ │ ├── CustomerRepository.java
│ │ └── CustomerResponse.java
│ └── resources/
│ └── application.yml
└── test/
└── java/
Terminal window
./mvnw test
./mvnw spring-boot:run

Confirm health via Actuator and exercise the resource endpoints with HTTP requests or tests.