{"id":124,"date":"2019-12-12T13:26:07","date_gmt":"2019-12-12T04:26:07","guid":{"rendered":"http:\/\/kpc2019.satoshis.jp\/?p=124"},"modified":"2019-12-12T14:11:28","modified_gmt":"2019-12-12T05:11:28","slug":"%e6%8f%90%e5%87%ba%e8%aa%b2%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/kpc2019.satoshis.jp\/?p=124","title":{"rendered":"\u63d0\u51fa\u8ab2\u984c"},"content":{"rendered":"<p>SpringBoot\u3092\u4f7f\u3063\u305fWeb\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d: tweeter<br \/>\nSpring Boot Version: 2.2.1<\/p>\n<h3>\u4f5c\u6210\u3059\u308b\u30da\u30fc\u30b8\u3068URL<\/h3>\n<table>\n<tr>\n<th>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8<\/th>\n<td>http:\/\/localhost:8080\/<\/td>\n<\/tr>\n<th>\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332<\/th>\n<td>http:\/\/localhost:8080\/user\/<\/td>\n<\/tr>\n<tr>\n<th>\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f<\/th>\n<td> http:\/\/localhost:8080\/tweet\/<\/td>\n<\/tr>\n<tr>\n<th>\u30e6\u30fc\u30b6\u30fc\u7de8\u96c6\u30da\u30fc\u30b8<\/th>\n<td> http:\/\/localhost:8080\/edit\/{id}<\/td>\n<\/tr>\n<\/table>\n<h3>\u4f5c\u6210\u3059\u308bHTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/h3>\n<table>\n<tr>\n<th>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8<\/th>\n<td>index.html<\/td>\n<\/tr>\n<th>\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332<\/th>\n<td>user.html<\/td>\n<\/tr>\n<tr>\n<th>\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f<\/th>\n<td>tweet.html<\/td>\n<\/tr>\n<tr>\n<th>\u30e6\u30fc\u30b6\u30fc\u7de8\u96c6<\/th>\n<td>edit.html<\/td>\n<\/tr>\n<\/table>\n<h3>\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3<\/h3>\n<table width=\"200px\">\n<tr style=\"border: solid 1px black\">\n<td>User<\/td>\n<\/tr>\n<tr>\n<td>\n\u30fbid &#8211; Long<br \/>\n\u30fbname &#8211; String<br \/>\n\u30fbprofile &#8211; String<br \/>\n\u30fbtweets &#8211; List<Tweet>\n<\/td>\n<\/tr>\n<\/table>\n<table width=\"200px\">\n<tr style=\"border: solid 1px black\">\n<td>Tweet<\/td>\n<\/tr>\n<tr>\n<td>\n\u30fbid &#8211; Long<br \/>\n\u30fbtime &#8211; java.util.Date<br \/>\n\u30fbcontent &#8211; String<br \/>\n\u30fbuser &#8211; User\n<\/td>\n<\/tr>\n<\/table>\n<h3>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u5185\u5bb9<\/h3>\n<ul>\n<li>Web\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb<\/li>\n<li>\u756a\u53f7\u3068\u540d\u524d<\/li>\n<li>\u300c\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u300d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af<\/li>\n<li>\u300c\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f\u300d\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af<\/li>\n<\/ul>\n<h3>\u300c\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u300d\u30da\u30fc\u30b8\u306e\u5185\u5bb9<\/h3>\n<ul>\n<li>Web\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb<\/li>\n<li>\u756a\u53f7\u3068\u540d\u524d<\/li>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af<\/li>\n<li>\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3067\u540d\u524d\uff08name\uff09\u3068\u81ea\u5df1\u7d39\u4ecb(profile)\u3092\u5165\u529b\u3067\u304d\u308b<\/li>\n<li>\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u8868\u793a<\/li>\n<li>\u767b\u9332\u6e08\u307f\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7<\/li>\n<\/ul>\n<h3>\u300c\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f\u300d\u30da\u30fc\u30b8\u306e\u5185\u5bb9<\/h3>\n<ul>\n<li>Web\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb<\/li>\n<li>\u756a\u53f7\u3068\u540d\u524d<\/li>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af<\/li>\n<li>\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3067\u6295\u7a3f\u5185\u5bb9\uff08content)\u3092\u5165\u529b\u3067\u304d\u308b<\/li>\n<li>\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u8868\u793a<\/li>\n<li>\u6295\u7a3f\u6e08\u307f\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b<\/li>\n<\/ul>\n<h3>\u300c\u30e6\u30fc\u30b6\u30fc\u7de8\u96c6\u300d\u30da\u30fc\u30b8\u306e\u5185\u5bb9<\/h3>\n<ul>\n<li>Web\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb<\/li>\n<li>\u756a\u53f7\u3068\u540d\u524d<\/li>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af<\/li>\n<li>\u5165\u529b\u30d5\u30a9\u30fc\u30e0\u3067\u540d\u524d\u3068\u81ea\u5df1\u7d39\u4ecb\u3092\u5165\u529b\u3067\u304d\u308b<\/li>\n<li>\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u8868\u793a<\/li>\n<\/ul>\n<p>application.properties<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\nspring.datasource.url=jdbc:hsqldb:hsql:\/\/localhost\/tweeter\r\nspring.datasource.username=SA\r\nspring.datasource.password=\r\nspring.datasource.driver-class-name=org.hsqldb.jdbc.JDBCDriver\r\nspring.jpa.properties.hibernate.dialect=org.hibernate.dialect.HSQLDialect\r\nspring.jpa.hibernate.ddl-auto=update\r\n<\/pre>\n<p>pom.xml<\/p>\n<p>bookshelf\u306epom.xml \u304b\u3089\u4ee5\u4e0b\u306e\u90e8\u5206\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001tweeter \u306e pom.xml \u306b\u8cbc\u308a\u4ed8\u3051\u308b\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;\/artifactId&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-boot-starter-data-jpa&lt;\/artifactId&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.hsqldb&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;hsqldb&lt;\/artifactId&gt;\r\n\t\t&lt;\/dependency&gt;\r\n<\/pre>\n<h3>\u914d\u70b9<\/h3>\n<ol>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8: 10\u70b9<\/li>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8: CSS\u3067\u30c7\u30b6\u30a4\u30f3\u3092\u5909\u66f4\u3057\u3066\u3044\u305f\u308910\u70b9<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u30da\u30fc\u30b8: \u8868\u793a\u3067\u304d\u305f\u308910\u70b9<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u30da\u30fc\u30b8: \u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3067\u304d\u305f\u308910\u70b9<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u30da\u30fc\u30b8: \u30e6\u30fc\u30b6\u30fc\u7de8\u96c6\u30da\u30fc\u30b8\u306b\u98db\u3079\u305f\u308910\u70b9<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u4e00\u89a7\uff06\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u30da\u30fc\u30b8: CSS\u3067\u30c7\u30b6\u30a4\u30f3\u3092\u5909\u66f4\u3057\u3066\u3044\u305f\u308910\u70b9<\/li>\n<li>\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f\u30da\u30fc\u30b8: \u8868\u793a\u3067\u304d\u305f\u308910\u70b9<\/li>\n<li>\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f\u30da\u30fc\u30b8: \u30c4\u30a4\u30fc\u30c8\u6295\u7a3f\u3067\u304d\u305f\u308910\u70b9<\/li>\n<li>\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f\u30da\u30fc\u30b8: \u6295\u7a3f\u8005\u540d\u304c\u8868\u793a\u3055\u308c\u308b\uff08\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306e\u9023\u643a\uff09 : 10\u70b9<\/li>\n<li>\u30c4\u30a4\u30fc\u30c8\u4e00\u89a7\uff06\u30c4\u30a4\u30fc\u30c8\u6295\u7a3f\u30da\u30fc\u30b8: CSS\u3067\u30c7\u30b6\u30a4\u30f3\u3092\u5909\u66f4\u3057\u3066\u3044\u305f\u308910\u70b9<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u7de8\u96c6\u30da\u30fc\u30b8: \u8868\u793a\u3067\u304d\u305f\u308910\u70b9<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u7de8\u96c6\u30da\u30fc\u30b8: \u7de8\u96c6\u3067\u304d\u305f\u308910\u70b9<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u7de8\u96c6\u30da\u30fc\u30b8: CSS\u3067\u30c7\u30b6\u30a4\u30f3\u3092\u5909\u66f4\u3057\u3066\u3044\u305f\u308910\u70b9<\/li>\n<\/ol>\n<p>\u203b\u5168\u90e8\u30af\u30ea\u30a2\u3059\u308b\u3068100\u70b9\u8d85\u3048\u307e\u3059\u304c\u3001\u6700\u9ad8\u70b9\u306f100\u70b9\u3067\u3059\u3002<\/p>\n<h3>\u63d0\u51fa\u65b9\u6cd5<\/h3>\n<ol>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u3092\u3001\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u3067\u958b\u304f\u3002<\/li>\n<li>\u300ctweeter\u300d\u30d5\u30a9\u30eb\u30c0\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057[\u9001\u308b]-[\u5727\u7e2e(zip \u5f62\u5f0f)\u30d5\u30a9\u30eb\u30c0\u30fc]\u3092\u9078\u629e\u3059\u308b\u3002<\/li>\n<li>\u300ctweeter.zip\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u63d0\u51fa\u3059\u308b\u3002<\/li>\n<li>\u300cX:\\\u63d0\u51fa\u30d5\u30a9\u30eb\u30c0\\2018\\\u63d0\u51fa\\\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u5b9f\u7fd2\u300d\u306b\u81ea\u5206\u306e\u756a\u53f7\u306e\u30d5\u30a9\u30eb\u30c0\uff081817NN\uff09\u3092\u4f5c\u6210\u3059\u308b\u3002<\/li>\n<li>\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u300ctweeter.zip\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>SpringBoot\u3092\u4f7f\u3063\u305fWeb\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d: tweeter Spring Boot Version: 2.2.1 \u4f5c\u6210\u3059\u308b\u30da\u30fc\u30b8\u3068URL \u30c8\u30c3\u30d7\u30da\u30fc\u30b8 http:\/\/localhost:808 &hellip; <a href=\"https:\/\/kpc2019.satoshis.jp\/?p=124\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u63d0\u51fa\u8ab2\u984c&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-git","category-spring-boot"],"views":154469,"_links":{"self":[{"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":12,"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":136,"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions\/136"}],"wp:attachment":[{"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kpc2019.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}