To run all tests:
gradle clean test -is
To start the application with docker-compose:
docker-compose rm -f && gradle build docker -is && docker-compose up
This command will start 3 services: MySQL database, spring-boot demo application (on port 8080) and adminer (on port 8081)
Save data:
curl -v -F file=@csv/invoice_data_1.csv http://localhost:8080/invoice/digest
View supplier invoice summary data:
curl -v -X GET http://localhost:8080/invoice/supplier/summary
View invoice summary data:
curl -v -X GET http://localhost:8080/invoice/summary
I added some extra Sunday night. Use the previous commit for evaluation.