gitmyhub

tutorials

Java ★ 37k updated 3h ago

Getting Started with Spring Boot 3:

A collection of hundreds of small, runnable Java and Spring code examples organized by topic, designed to teach specific concepts clearly without production complexity.

JavaSpring BootSpring FrameworkMavenJUnitsetup: easycomplexity 2/5

The eugenp/tutorials repository is a large collection of small, focused Java and Spring code examples maintained alongside the Baeldung learning website. Each module in the project covers one specific topic — for example, how to use a particular Spring Boot feature, a specific Java API, or a library integration. The goal is to give developers working, runnable code that demonstrates a single concept clearly, rather than a complete production application.

The project is organized as a Maven multi-module build, which means each topic lives in its own subdirectory with its own build configuration. Because the full repo contains hundreds of modules, the project uses Maven build profiles to split them into groups based on Java version requirements (JDK 8, JDK 17, JDK 21, and newer versions) and test type (unit tests vs integration tests). You pick the profile matching your Java version and the type of tests you want to run, then build only the relevant subset rather than the whole repository at once.

You would use this repository when you are learning Spring, Spring Boot, Spring Security, or core Java and want to see a working code example for a specific topic — say, how to configure a REST API endpoint, how to use a particular design pattern, or how to integrate with a third-party library. It is a reference companion to the Baeldung tutorials site rather than software you deploy. The tech stack is Java across all major recent versions (8 through 25), with Spring Boot as the primary framework and Maven as the build tool. Courses linked from the README provide paid structured learning built on top of these same examples.

Where it fits