Skip to content

forever89107/SpringBoot-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENV

  • springboot http-server (oracle 8)
  • Mariadb(10.7.1)
  • mybatis

DataSource notify

  1. src -> main -> resource -> application.properties

  2. spring.datasource.url -> jdbc:mysql://urdb:port/database?....

  3. spring.datasource.username=username spring.datasource.password=password

打包取得新jar檔,取代「demo-0.0.1-snapshot.jar」

Blog_Repository tag

API Test

post -- http://url:8890/player 
header:
[{"key":"Content-type","value":"application/json","description":""}]
body:
    {
     "id":"A0009",
     "playerName":"nickname",
     "job":"jobName",
     "level":9
    }
GET -- http://url:8890/player/A0008
header:
[{"key":"Content-type","value":"application/json","description":""}]
GET -- http://url:8890/player/
header:
[{"key":"Content-type","value":"application/json","description":""}]

About

SpringBoot教學

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages