All paths
Spring BootIntermediatePremium

Spring Boot Intro

Build REST APIs with Spring Boot

14 chapters56 lessons38 challenges

Course curriculum

Chapter 1: Introduction to Spring Boot

  • What Spring Boot is
  • @SpringBootApplication and startup
  • The web starter and your first endpoint
  • Project structure

Chapter 2: Dependency Injection

  • IoC and Dependency Injection
  • Beans: @Component, @Service, @Repository
  • @Autowired and constructor injection
  • @Qualifier, @Primary and scope

Chapter 3: Configuration

  • application.properties and yaml
  • @Value
  • @ConfigurationProperties
  • Profiles

Chapter 4: REST API

  • Mapping HTTP endpoints
  • @PathVariable and @RequestParam
  • @RequestBody: receiving JSON
  • ResponseEntity and status codes

Chapter 5: Validation and error handling

  • Bean Validation
  • When validation fails
  • @ExceptionHandler
  • @ControllerAdvice

Chapter 6: DTOs and layered architecture

  • DTO vs Entity
  • The service layer
  • Mapping Entity <-> DTO
  • Layered architecture

Chapter 7: Spring Data JPA

  • Entities
  • Repositories
  • Derived query methods
  • @Query

Chapter 8: Relationships and advanced queries

  • Relationships: @ManyToOne and @OneToMany
  • @ManyToMany and fetch
  • Pagination and sorting
  • @Transactional

Chapter 9: Spring Security

  • Authentication and authorization
  • The SecurityFilterChain
  • Password encoding
  • JWT and stateless APIs

Chapter 10: Testing

  • Unit tests with JUnit and Mockito
  • @WebMvcTest
  • @DataJpaTest
  • @SpringBootTest and integration

Chapter 11: Advanced Spring Boot

  • Actuator
  • Caching
  • Async and Scheduling
  • Application events

Chapter 12: Service communication

  • Calling other services
  • Microservices
  • Resilience
  • A look at Spring Cloud

Chapter 13: Performance and deployment

  • Connection pooling
  • Logging and observability
  • Build and Docker
  • Production configuration

Chapter 14: Senior best practices and interview

  • Clean architecture
  • Patterns and anti-patterns
  • Common mistakes
  • Interview questions

Ready to level up?

Create a free account and start now: earn XP on every challenge and climb the leaderboard.

Spring Boot Intro — LevelUpCode