This is an example of rest json using Quarkus.
This repository contains an example of rest-json using Quarkus and a simple web page to interact with our resource.
- Quarkus
- Quarkus-resteasy-jsonb
- Angular
Navigate until ricas-quarkus root and run:
- ./mvnw compile quarkus:dev
Type the follow URL on browser
- http://localhost:8080/soccerplayers.html
- http://localhost:8080/soccerPlayers
[{"player":"Neymar Jr","team":"Paris Saint-Germain"},{"player":"Cristiano Ronaldo","team":"Juventus"},{"player":"Lionel Messi","team":"Barcelona"},{"player":"Steven Gerrard","team":"Liverpool"}]
-
- [POST] /soccerPlayers
- [DELETE] /soccerPlayers
- [GET] /soccerPlayers