Quarkus REST API with Hibernate ORM, Panache, RESTEasy, and PostgreSQL.
GET /food Lists all Food resources
GET /food/{id} Retrieves the Food resource with the specified ID
GET /food/search/{name} Retrieves a Food resource with the specified name
POST /food Creates a Food resource
docker run -it --rm=true --name food_db -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_DB=food_db -p 5432:5432 postgres:13.3
./mvnw compile quarkus:dev
Navigate to localhost:8080/food
to view the pre-imported Food
resources.
./mvnw clean package
./mvnw test