Stock Price Checker

Front End

Single Price and Total Likes
Like? Get Price!

Compare prices and relative likes
Like both? Get Prices!

User Stories:

  1. Set the content security policies to only allow loading of scripts and css from your server.
  2. I can GET /v1/stock-prices with form data containing a stock ticker and receive back an object stockData.
  3. In stockData, I can see the stock(string, the ticker), price(decimal in string format), and likes(int).
  4. I can also pass along field like as true(boolean) to have my like added to the stock(s). Only 1 like per ip should be accepted.
  5. If I pass along 2 stocks, the return object will be an array with both stock's info but instead of likes, it will display rel_likes(the difference betwwen the likes) on both.
  6. All 5 functional tests are complete and passing.

Example Usage:

Example Output: