2017-07-02から1日間の記事一覧
とりあえず SpringBootSecurity を設定してみた回 まずは build.gradle に依存を追加する。 dependencirs{ compile('org.springframework.boot:spring-boot-starter-security') // あとはおすきに そしてログインに使用する DB からデータを取得するためのイ…
次に DB 接続と Migration してみる。 SpringBoot では公式に Flyway 書いてあるので、そっちを使う。 build.gradle に compile("org.flywaydb:flyway-core") 追加。 application.properties に下記を記載 spring.datasource.url=jdbc:h2:./db/example;MODE=…