Intermediate 7 lessons · free · no sign-up
Spring Boot tutorial Java REST APIs and databases.
Spring Boot — Java web services, REST APIs and JPA. Every lesson has working Spring Boot code with the output or API response you'll see, key points, a practice task, a quiz and interview questions.
Start learning Spring Boot
Not started
- 7lessons
- 7quick checks
- 14interview Q&As
- 7practice tasks
Syllabus
What you'll learn
Every lesson has a worked example, key points, a quick check, a practice task and interview questions.
- 01Spring Boot introductionWhat Spring and Spring Boot are, creating a project and running your first app.
- 02Beans & dependency injectionHow Spring creates and wires objects, @Component/@Service and constructor injection.
- 03REST controllers@RestController, mapping GET/POST/PUT/DELETE, path variables, query parameters and ResponseEntity.
- 04Spring Data JPA & repositoriesEntities, repositories, derived query methods, H2/MySQL configuration and pagination.
- 05Services, validation & error handlingLayered architecture, bean validation, @Transactional and global exception handling.
- 06Security & testingSpring Security basics, password hashing, securing endpoints and writing tests with JUnit and MockMvc.
- 07Profiles, Actuator & deploymentEnvironment profiles, health checks with Actuator, building a JAR and running in Docker.