
eugenp/tutorials
A large collection of small, focused Java and Spring tutorial code projects, many with Maven builds.eugenp/tutorials
- Stars
- 37.3k
- Forks
- 53.1k
- Licence
- MIT
- Language
- Java
- Last update
- 5 days ago
- Type
- Learning resource
What it is
This is a repository of many small, separate Java tutorial projects, with a strong focus on the Spring Framework (Spring, Spring Boot and Spring Security). Each module covers one well-defined topic, so you can study or copy the one you need. The README also links to paid courses from Baeldung, the site that maintains the project.
- Open one module in an IDE and read how a Spring Boot feature is implemented
- Run a Spring Boot module with mvn spring-boot:run from its directory
- Build a single module with mvn clean install inside its folder
- Run unit or integration tests for one module using the profiles described in the README
Great for
- Java developers who want to learn a specific Spring Boot or Spring Security topic
- Students following along with Spring tutorial code
- Developers who want a working example of a single Java feature to read or run
- People comfortable with Maven who want to build individual modules
Not ideal for
- Complete beginners to programming, since the README assumes Java and Maven knowledge
- People looking for a single application to deploy, because this is a collection of separate examples rather than one product
- Anyone needing non-Java examples, since the README focuses on the Java ecosystem
How to get it
- 1
Clone and build from source
You'll need: Git · Java (the README mentions JDK 8 through JDK 26 profiles; check the module for the version it needs) · Maven
Clone the repository
git clone https://github.com/eugenp/tutorialsIf cloning fails with a buffer error, increase the buffer size
git config --global http.postBuffer 5000000Run a Spring Boot module from its directory
mvn spring-boot:run - 2
Run it
- Clone the repository with git clone.
- Change into the directory of the module you want to study.
- Run mvn clean install in that module directory to build it.
- Run mvn spring-boot:run in the module directory if it is a Spring Boot app.
- 3
Get the most out of it
- Import only the module you need into Eclipse or IntelliJ instead of the whole repository
- Use mvn clean install -Pparents to build parent modules before a child module that depends on them
- Run unit tests with mvn clean install and integration tests with the -Pintegration profile
- Use --pl with -Pdefault to build a chosen set of modules from the root
Downloads
Strengths
- Covers many specific Spring and Java topics in separate, focused modules
- Modules can be built and run independently, so you do not need the whole repository
- The README documents the Maven profiles and build commands clearly
Trade-offs
- The repository is very large, and the README says building everything at once is rarely needed
- Some modules depend on parent modules that must be built first
- The README is truncated here and does not describe each module's content, so you must browse the folders yourself
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.