The AOC Framework
github logodiscord logo

BACKEND

Reports #

Reports are HTML or PDF documents designed both for display on screens and for printing on paper.

To convert reports to PDF, wkhtmltopdf is used. You must specify the path to the binary file in the reports.wkhtmltopdfAbsolutePath property of the aoc-server-config.json file.

Report classes must inherit from the AocReport class. These classes, as well as any required pug or css files, should be placed in the /reports directory within your server application.

The router registers automatically and is accessible at /reports/<report-name>/html or /reports/<report-name>/pdf.

Example #

TODO

Api #

Full definition in the API.

Please note, browse Issues and Discussions in Github for more information

© 2024 Atlantis of Code. All rights reserved.
All trademarks are the property of their respective owners.