Relative Content

Tag Archive for springreport

how to generate a monthly report in spring boot

I am trying to generate a monthly report for my spring boot ecommerce project. The frontend is developed with react and what I want to achieve is that at the end of every month, I want to display a report on the admin page. The report will carry the total number of sales made for that month as well as the total number of new customers that registered that month. I do not want the admin to type the month by itself but rather I want the system to do that on every last day of the month.I don’t know how to achieve it. The only way I can do it on my own is to ask the user to enter the month that he/she want to view the report and the system will generate a report based on the entered month but that’s not what I want. I want the system to be able to do that on it own and send it to the frontend(there will be an endpoint that will make the query only at the end of every month). I just need a guide on how I can achieve this.