https://github.com/kimtth/spring-boot-mybatis-restful
🐛 sample restful service by spring boot & mybatis & maven
https://github.com/kimtth/spring-boot-mybatis-restful
h2-database maven mybatis restful spring spring-boot
Last synced: about 1 year ago
JSON representation
🐛 sample restful service by spring boot & mybatis & maven
- Host: GitHub
- URL: https://github.com/kimtth/spring-boot-mybatis-restful
- Owner: kimtth
- Created: 2018-03-09T08:30:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-17T04:00:19.000Z (over 8 years ago)
- Last Synced: 2025-02-17T00:51:14.384Z (over 1 year ago)
- Topics: h2-database, maven, mybatis, restful, spring, spring-boot
- Language: Java
- Homepage:
- Size: 14.9 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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
