https://github.com/soujava/microprofile-demo
Microprofile demo
https://github.com/soujava/microprofile-demo
microprofile microprofile-demo
Last synced: 9 months ago
JSON representation
Microprofile demo
- Host: GitHub
- URL: https://github.com/soujava/microprofile-demo
- Owner: soujava
- License: apache-2.0
- Created: 2016-10-02T14:18:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-22T14:03:08.000Z (over 8 years ago)
- Last Synced: 2025-01-27T10:45:04.528Z (11 months ago)
- Topics: microprofile, microprofile-demo
- Language: Java
- Size: 12.7 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microprofile-demo
Microprofile demo
A microprofile sample using [Tomee](http://tomee.apache.org/) implementation.
Basically this microservice capture an simple answer, with yes or no, given a simple question.
To run:
* `mvn clean package tomee:exec -DskipTests`
* `java -jar target/microprofile-demo-1.0-SNAPSHOT-exec.jar`
### The available resources:
* **GET** http://localhost:8080/microprofile-demo/resource/votes/
* **GET** http://localhost:8080/microprofile-demo/resource/votes/question
* **POST** http://localhost:8080/microprofile-demo/resource/votes/no
* **POST** http://localhost:8080/microprofile-demo/resource/votes/yes
## More information
* http://microprofile.io/