3 Provides a REST-API to generate PDF reports for terms and their sentiment analysis results. The service uses an .NET Core wrapper for the wkhtmltopdf library to generate pdf out of html code.
5 `GET`: `/` Shows a demo page
9 `POST`: `/generatePDF/` Generates a pdf report for the given terms
10 - param: Term[] as Content-Type: `application/json`
31 Term(string `Name`, double `Sentiment`)
35 - `docker build -t service-reporting .`
36 - `docker run -p YOUR_PORT:8083 service-reporting:latest`
41 - download [libwkhtml library](https://github.com/rdvojmoc/DinkToPdf/tree/master/v0.12.4) depending on your operating system and put it into `service-reporting` root folder