This aim of this task is to build an application with both front end and a back end.
Stock market data can be retrieved through Alpha Vantage. Here is an example.
You may use any alternative APIs for the data of stock markets.
The primary task is to input the stock code, for example, AAPL, then retrieve data from backend server, which caches data to reduce the number of API requests.
Once the data available in the front end, draw a chart to show the data, it can be as simple as a line chart, like in Google Search:
Here are the requirements:
-
Use either Vue.js + Vuex or React + Redux, and you MUST use webpack or any equivalent front-end building tools
-
Backend can be either Node.js (Express or Koa) or Python (Flask)
-
API query result must be cached in database, and MongoDB is highly recommended, any database libraries of your language of choice can be used, for example, Mongoose, monk or native MongoDB Node.js Driver for Node.js.
Add any features that you think is useful, like comparing two stocks, or comparing a stock with a stock market index. We encourage you to utilize the empty space on screen.
Remarks: A well done bonus part can outweigh everything else!