Skip to content

kimtth/spring-boot-mybatis-restful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring boot restful

simple restful service by spring boot & mybatis & maven

installation

$ mvn spring-boot:run

development

spring Boot / maven / mybatis / h2 db / tomcat

restful spec

  • Add: @RequestMapping(value = "/user", method = RequestMethod.POST)
  • Update: @RequestMapping(value = "/user/{id}", method = RequestMethod.PUT)
  • Delete: @RequestMapping(value = "/user/{id}", method = RequestMethod.DELETE)
  • List: @RequestMapping(value = "/user/{id}", method = RequestMethod.GET)
  • List All: @RequestMapping(value = "/users", method = RequestMethod.GET)

test: postman

  • example: adding data

demo_restful

About

🐛 sample restful service by spring boot & mybatis & maven

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published