Stockquote is a java based web application which leverages Yahoo-Finance API to request detailed information, some statistics and historical quotes on stocks. Stockquote has a simple and easy to follow user interface built using bootstrap 4.
- In order to get this application up and running quickly, you will need to have docker run time installed on your computer.
- On a local computer where you have a docker runtime installed, clone this repository and go to
Deployment
folder. - Now, run the following docker commands one by one:
a)docker build -t stockquote-webapp .
b)docker container run --name stockquote -dt -p 8091:8080 stockquote-webapp
- The application should be up and running now on the following
URL: http://localhost:8091/stockquote/
- Click inside the text box on far left at the top of the page, where it says 'Enter ticker symbol'.
- Enter a valid ticker symbol, such as 'GOOG' and hit Search.
- You will see the current price of the stock under 'Stock Details' section.
- On the far right of stock details section, click on 'Quick History' in green color to view the historical data of the stock.
- Similarly, you can look up Weekly and Monthly details of a given stock as well. In order to dos so, simply click on the button called "Advanced Search" on the top right corner.
- A user can find the current price of any given stock.
- A user can view Weekly/ Monthly historical data of a stock.
- Easy to understand code which is built following MVC design pattern.
- Simple and straightforward User Interface.
- Can be hosted as a micro-service in a container. Making it easier to deploy the app over cloud.
- Code refactoring (Minimizing the workload in controllers).
- Implement auto refresh.
- Implement user profiles and portfolio management.
- Make it small screen compatible.
- Yahoo Finance Java API
- Bootstrap 4
- JSTL
- Enterprise Java
- JSP and Servlets
- Docker container runtime