- Overview of Spring Boot and its advantages.
- Auto-configuration and embedded Tomcat server.
- Creating a Spring Boot project with Spring Initializr.
- Understanding project structure (
pom.xml, source folders, resources).
- Building controllers with
@RestController. - Defining endpoints using
@GetMapping,@PostMapping, etc. - Returning JSON responses.
- Managing beans with Spring’s IoC container.
- Using
@Component,@Service, and@Autowired. - Constructor-based injection.
- External configuration with
application.propertiesand YAML. - Profiles for different environments.
- Adding validation with
@Validand annotations like@NotNulland@Size. - Handling exceptions with
@ExceptionHandler.
- Using Lombok annotations (
@Getter,@Setter,@NoArgsConstructor,@AllArgsConstructor) to reduce boilerplate code.
- Running with Maven and embedded Tomcat.
- Testing endpoints via browser or Postman.
This project is meant for:
- Practicing core Spring Boot concepts.
- Having a quick-start reference for REST API development.
- Serving as a foundation for more advanced Spring projects.