Spring Trader is an investment portfolio tracking web application made with Spring Boot. Spring Trader utilizes spring security to implement JSON Web Token authentication. It aggregates stock data from multiple sources (currently AlphaVantage, Finnhub, and Polygon) using dependency injection and interfaces to decouple the application from the data.
server.port=${port:8080}
spring.application.name = Spring Trader
spring.thymeleaf.cache = false
spring.thymeleaf.enabled=true
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.jsp
server.error.path=/error
server.error.whitelabel.enabled=false
server.servlet.context-path=/SpringTrader
alphavantage.api.key=[]
finnhub.api.key=[]
polygon.api.key=[]
spring.h2.console.enabled=true
spring.jpa.hibernate.ddl-auto=none
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
AlphaVantage free API key: https://www.alphavantage.co/
alphavantage.api.key=[put key here without brackets]
Finnhub free API key: https://finnhub.io/
finnhub.api.key=[put key here without brackets]
Polygon free API key: https://polygon.io/
polygon.api.key=[put key here without brackets]
5. Run the project and go to http://localhost:8080/SpringTrader/
username: user
password: pass