Skip to content

saladlam/spring-noticeboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(日本語は英語の下にある)

Spring boot example application: notice board

https://github.com/saladlam/spring-noticeboard

Objective

I write this application is for explain the mechanism of different component 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 Data JPA 2.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 

Press Ctrl+C to stop.

Account

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

Spring bootサンプルアプリケーション: 掲示板

https://github.com/saladlam/spring-noticeboard

目的

このアプリケーションを作るのは、Spring frameworkを構成する、いろいろなコンポーネントの流れを説明するため。

機能

  • 決められた時メッセージを表示すること
  • メッセージを表示する前、許可すること
  • 多言語ユーザーインターフェイス

使われる主要なコンポーネント

  • Spring Boot 2.1.X
  • Spring MVC 5.1.X と thymeleaf 3.0.X
  • Spring Security 5.1.X
  • Spring Data JPA 2.1.X
  • Dozer 5.5.X

データベース

データは埋め込み H2 データベースに記憶する。スキーマとデータはアプリケーション起動時がインポートされ、それからアプリケーション終了時全てのデータがなくなった。

必要なもの

  • Java SE Development Kit 8以降
  • インタネット接続

コンパイルと実行

Apache Mavenラッパーがついていて、だからパッケージマネージャが用意されなくでもいい。

コンパイルする (Microsoft Windowsの場合)

mvnw package 

実行する (Microsoft Windowsの場合)

mvnw spring-boot:run 

アプリケーションを閉じたい時、Ctrl+Cを押してください。

アカウント

ユーザーネーム パスワード 権限
user1 user1 USER
user2 user2 USER
admin admin USER, ADMIN

About

Spring boot example application: notice board

Resources

License

Stars

Watchers

Forks

Packages

No packages published