Student management application for education and demo purposes
This is a Spring Boot master branch which contains a blank project for cloning and set up.
Project created as a guide and demo for learning purposes.
#Who can use it? This example is useful both for beginners with no previous experience with Spring and for individuals who have good knowledge of Spring Boot. However, basic Java programming knowledge is needed. Instructors may use these examples for teaching purposes.
The project has a branch called "spring_boot_basic". In order to use it checkout the branch
#Usage
1.Spring_boot_basic branch is an example of how to use the Spring Boot Thymeleaf engine to create dynamic HTML pages. From this example you can also learn about annotations such as @Controller, @PostMapping, @GetMapping, @Valid, @ModelAttribute, @Bean, @Scope, @Session, @Autowired and others. This example also shows how to use Lombok annotations
a.Before downloading be sure you have Java 17 JDK installed. It is recommended to use IntelliJ IDE to run this project.
Spring Boot MVC and Thymeleaf project demonstrates how a Java class or variable can be mapped to HTML. Run the project and use a browser like Chrome to navigate. The root URL is:
Main features demonstrated in the project:
- Spring data JPA (Many-to-Many and One-to-One relationships, Custom queries examples)
- @Bean annotation usage, @Scope and @Qualifiers
- Spring Security 6 with UserPrincipal implementation, Thymeleaf conditions and Spring Security context usage with Thymeleaf
- Different ways of @ModelAttribute usage
- JUnit testing with H2 database
- Demonstrating @RequestParam and @PathVariable annotations
- @Controller, @GetMapping, @PostMapping
- Thymeleaf templates utilizing forms, objects, fragments, iteration statements and others.
- Master branch also has GitHub actions example


