This Spring Boot project retrieves data about the economy every morning, and stores it in a MySQL database. This data is then dynamically displayed in the dashboard main page using Thymeleaf templates. Users can also search through the archive of news articles and historical price data.
- Clone the repository by running
git clone https://github.com/Nielam-Dass/Finance-Dashboard.git
- Install dependencies in Maven's
pom.xml
. - Install MySQL on port 3306 and create a database called
finance_dashboard
. - Create tables
news_article
andmarket_performance_snapshot
. - Create an
application-dev.properties
file and definespring.datasource.username
andspring.datasource.password
. - Go to Rapid API and get a private key. In
application-dev.properties
, set the value ofrapid_api_key
to your private key. - Run
FinanceDashboardApplication.java
and go to http://localhost:8080/dashboard.