Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vladimir-dejanovic/springboot-protobuffer-jersey-sample
Demo code for my talk https://www.slideshare.net/VladimirDejanovic2/protocol-buffers-and-microservices
https://github.com/vladimir-dejanovic/springboot-protobuffer-jersey-sample
protobuf protocol-buffers rest-api
Last synced: 19 days ago
JSON representation
Demo code for my talk https://www.slideshare.net/VladimirDejanovic2/protocol-buffers-and-microservices
- Host: GitHub
- URL: https://github.com/vladimir-dejanovic/springboot-protobuffer-jersey-sample
- Owner: vladimir-dejanovic
- License: gpl-3.0
- Created: 2017-02-20T21:25:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T09:56:34.000Z (almost 7 years ago)
- Last Synced: 2024-10-27T16:23:16.300Z (2 months ago)
- Topics: protobuf, protocol-buffers, rest-api
- Language: Java
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# springboot-protobuffer-jersey-sample
This is sample application written in SpringBoot, which use Jersey for REST end points.
Demo example for my talk https://www.slideshare.net/VladimirDejanovic2/protocol-buffers-and-microservices
This is demo application which demonstrate very simple end points
- Plain Text
- JSON
- XML
- Protocol Buffer```
mvn clean installjava -jar target/springboot-protobuffer-jersey-sample-0.0.1-SNAPSHOT.jar
curl http://localhost:8080/text
curl http://localhost:8080/json | json_pp
curl http://localhost:8080/xml > 1.xml ; xmllint --format 1.xml
curl http://localhost:8080/proto
```