How basahota/aws-ecr-cicd works
This is a small Spring Boot REST API for managing courses. An HTTP client sends create, list, fetch-by-ID, update, or delete requests to the controller; the controller delegates those operations to the service and returns HTTP status codes and course data. The service stores courses in an in-memory list, not an RDS database—the source comment mentions RDS, but the implementation shown does not connect to one. The graph shows the visible calls and model use; framework-driven startup and HTTP dispatch are not expanded.
Main entry points: CourseController.java Course controller · AwsDemoApplication.java Spring Boot entry · CourseService.java Course service and in-memory state · Course.java Course model
Components 5
Application entry
- Spring Boot entry
src/main/java/com/javatechie/AwsDemoApplication.java
Course API
- Course controller
src/main/java/com/javatechie/controller/CourseController.java
Course domain
- Course service and in-memory state
src/main/java/com/javatechie/service/CourseService.java - Course model
src/main/java/com/javatechie/dto/Course.java
Other components
- HTTP client
Connections 5
- HTTP client → Course controller: sends HTTP requests
src/main/java/com/javatechie/controller/CourseController.java - Course controller → Course service and in-memory state: delegates operations
src/main/java/com/javatechie/controller/CourseController.java - Course service and in-memory state → Course model: uses course data
src/main/java/com/javatechie/service/CourseService.java - Course controller → HTTP client: returns HTTP responses
src/main/java/com/javatechie/controller/CourseController.java - Spring Boot entry → Spring Boot entry: starts Spring Boot
src/main/java/com/javatechie/AwsDemoApplication.java