POC made in JAVA to learn the basics of JakartaEE and Payara Servers.
In this project you have 3 endpoints. One to get all the users, another to insert a user and the last one to delete a user.
Every single endpoint has the same path, /users
, the one thing that changes between the requests are the methods, there is a GET
, a POST
and a DELETE
.
To run the application, the easiest way it's to launch it through Docker by running the command in the root of the project:
docker compose up
Then you can access the endpoints by using the following path:
http://localhost:8080/poc_payara-1.0-SNAPSHOT/api/users