Chart the Stock Data - Need Feedback

Chart the Stock Data - Need Feedback
0.0 0

#1

Hi everyone,

this is my first backend project at FCC. I need yr feedback on project structure, code quality and easy to use.
and give me suggestion , how can i improve code quality.

https://stock-abhi.herokuapp.com/


#2

Things I noticed:

  1. I added Google (GOOG) trading at ~$820 and Twitter (TWTR) trading at ~$15 and they are showing on the same scale (looks like both are trading at about the same price).
    1a. What about the vertical scale? What it represents?
  2. You are using a db to cache data, but I can’t see where you are checking the “freshness” of the data saved in the db.
  3. After one minute the websocket closes the connection and you need to refresh the page to do something (I don’t think the websockets should work this way).