I have an app that I have built which is a standard model. Nothing fancy.
I need to add a reporting dashboard to it. Let us say I want to create some bar and pie charts using js or some 3rd party js library. I would want to assign a separate role called ‘View Reports’ and hook this dashboard to the role. Only users assigned to this role can view the dashboard.
Data to the HTML/js can come from server side python files which I can pull from the document, summarize and send.
- What are the frappe api touchpoints available to use it. Where will I place my HTML, CSS and JS files?
- What Python code needs to be written? For discussion purposes, we can assume that there is no filtering etc involved and the report is generated based on data in the model.
Any sample already existing will be highly appreciated.