This application will allow you to follow and research stocks. I use the Alpha Vantage API and Finnhub API to get stock information.
This is the initial version with the two main pieces (Spring Boot & Angular11) working together. Not much functionality yet just the initial shell of the application.
- Spring Boot -
v2.4.3
- Java -
v11
- Angular -
v11.2.4
- Gradle -
v6.8.3
- Node -
v15.11.0
- Typescript -
4.1.5
I use a Mac and IntelliJ IDEA so these instructions are for that setup. After you clone the repository then follow the steps below.
To build the Angular application follow the following steps:
- open a terminal
- navigate to
stockify/src/webapp
- install angular dependencies with this command
npm install
(you only have to do this once) - run the following command
npm run build
Next build the Spring Boot application with these steps:
- open a terminal
- navigate to
stockify/
- run the following command
./gradlew clean build
Once the application is built you can run it with the following command:
- In the terminal from the same location you ran the build from
- run the following command
./gradlew bootRun
- navigate to the Stockify application
NOTE: You can also build and run the application from IntelliJ