This is a Python port of my Node.js stock price checker, built with Flask and SQLite. The above front end API test also uses Bootstrap, jQuery, and highlight.js. The API fulfills the following user stories:
/api/stock-priceswith form data containing a Nasdaq
stockticker and recieve back an object
stockData, I can see the
stock(string, the ticker),
price(decimal in string format), and
true(boolean) to have my like added to the stock(s). Only 1 like per IP should be accepted.
likes, it will display
rel_likes(the difference between the likes on both) on both.