hugorod19 / React-Stocks-hou01-seng-ft-082420

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flatiron Stock Exchange

Clone Down Repo to See GIF

Welcome to the Flatiron Stock Exchange! Today, you are a broker who is trying to better organize the stocks available on the Flatiron Stock Market. The database of stocks can be found in a JSON-server, so before you start your React server, make sure to start your JSON-server on http://localhost:3000/stocks.

TO INSTALL: npm install -g json-server
TO START: json-server --watch db.json

After the stocks are fetched, your job is to:

  • Render all the stocks onto the page. The styling of how a Stock should look like is already in the Stock.js component.
  • allow a user to buy a stock by clicking on it and when it is bought, it should be added to My Portfolio.
  • allow a user to sell a stock in their Portfolio by clicking on the stock and it should be removed from their Portfolio.
  • allow a user to sort the list of stocks alphabetically by the ticker name as well as by ascending price.
  • allow a user to filter stocks based on the type of the stock.

Best of luck!

About


Languages

Language:JavaScript 55.3%Language:HTML 41.5%Language:CSS 3.2%