LoginSignup
1
0

More than 3 years have passed since last update.

Spring boot example application: notice board

Posted at

Objective

I write this application is for explain the mechanism of different component of Spring framework. This can also be used as playground for testing components of Spring Framework.

Function

  • Display notice on stated time
  • Approval before display
  • Multi language UI

Main component used

  • Spring Boot 2.1.X
  • Spring MVC 5.1.X with thymeleaf 3.0.X
  • Spring Security 5.1.X
  • Spring JDBC 5.1.X
  • Dozer 5.5.X

Database

Data stored in embedded H2 database. Schema and data is imported when application start and all data will be lost after application shutdown.

Prerequisite

  • Java SE Development Kit 8 or above
  • Internet connection

Compile and run

Apache Maven wrapper is included, no addition package manager is necessary.

Compile (On Microsoft Windows)

mvnw package

Run (On Microsoft Windows)

mvnw spring-boot:run

Open browser and enter "http://localhost:8080". Press Ctrl+C to stop.

Account

Username Password Authorities
user1 user1 USER
user2 user2 USER
admin admin USER, ADMIN

Source code

You may download source code from here.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0