To run the application you must have Docker installed.
In the /docs directory you have the front-end compiled.
In the application directory run the command:
docker-compose up --build
You can also run the application with an in-memory database without the docker. In application.properties change to test and use the command:
./mvnw spring-boot:run
/purchase
/purchase/add
/purchase/del
/purchase/{ID}
/purchase/{ID}/total
/purchase/{ID}/close?payment={PAYMENT_VALUE}
/purchase/{ID}/calc
{"description": "Order of client"}
{"product_id": 1154, "purchase_id": 1, "quantity": 2}
[{"id": 1154, "quantity": 2},{"id": 1164, "quantity": 1}]