0
0

Spring Boot + Spring MVC + MySQL + Thymeleaf を使用してアプリを作成してみた【CRUD Operations】

Last updated at Posted at 2023-08-08

1.プロジェクトを作成する

公式:spring initializr

① ブラウザを開き、(https://start.spring.io/) を入力し、開く
② 下記を入力し、Dependenciesで下記を選択し、『GENERATE』ボタンを押す

  • Project: Maven

  • Language: Java

  • SpringBoot: 3.1.2

  • Group: io.javabrains

  • Artifact: ipl_dashboard

  • Name : ipl_dashboard

  • Description: Demo project for Spring Boot

  • Package name: io.javabrains.ipl_dashboard

Dependencies

  • Spring Boot Web
  • Spring Boot DevTools
  • HyperSQL Database
  • Spring Data JPA
  • Spring Batch

2.Databaseの初期化する

① resoucesフォルダにmatch-data.xlsxファイルを追加する

resouces/application.propertiesを編集する

resouces/application.properties

参考サイト

CRUD Operations using Spring Boot + Spring MVC + MySQL + Thymeleaf | Create, Read, Update and Delete

0
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
0
0