Skip to content

levrun/spring-boot-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot simple example

The example above shows the example of hello world with Spring Boot and Thymeleaf. Notice that instead of controllers we use ViewControllerRegistry So that we don't need to worry about creating separate controller classes

This is example based on https://spring.io/guides/gs/securing-web You can find article in russian with additional explanations here https://smartcoderteam.github.io/spring-boot-simple-app-in-15-minutes

How to run

  • Import Maven project and just run Application.java from your favorite IDE
  • Open http://localhost:8080
  • Spring Boot will do the rest.

Libraries

  • Spring Boot 1.4.2
  • Thymeleaf for views
  • Maven for build

Design

Just 3 classes

About

simple example of web-app with spring boot and thymeleaf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published