Customizable Report Rendering with MJKR-Tech’s Rendr (without Docker)
This project tackles the problem of automated financial report rendering. Rendr is a responsive web application created using React.JS for frontend, Java Spring Boot for the backend and MySQL for the database.
Our web application produces an excel report file from JSON data files and an excel template file that the user inputs. The excel templates are stored in a database meaning that the user is able to reuse the template without uploading multiple times. Rendr has the ability to retrieve data from multiple JSON files to produce a single complex report containing one or many tables.
We have created a Dockerized backend and frontend. Access the README in those repos to find out more
For generic setups, read the README.md files in the separate folders.
Ensure that you have git clone the repository on the sandbox.
- Open terminal.
- Run the following command to update the gradle version to 7.4.2:
source /etc/profile.d/gradle.sh - Run the following command to start the backend service:
cd /home/coder/project/Rendr/backend && gradle bootRun
- Open a new terminal.
- In the new terminal, run the following command:
cd /home/coder/project/Rendr/frontend && npm start
- Enjoy our application.
- Ensure you use ngrok to perform tunneling to a running MySQL instance outside of sandbox.
- Ensure you have initialised the tables in your MySQL instance using the scripts in
project/Rendr/backend/src/main/resources/mysql/scripts/00-mysql-init.sql. You can refer to/home/coder/project/Rendr/backend/src/main/resources/mysql/README.md. - Update the
/home/coder/project/Rendr/backend/src/main/resources/application.propertiesto the new ngrok URL as well as your database credentials.