This react app loads live stocks data from web socket. Show stock trend ( up and down ) based on last stock price.
I have used Gatsby for front-end react tool. It's easy to start with. Steps for local setup.
-
Clone repo
git clone https://github.com/sagarnasit/stocks.git
-
Install dependencies.
npm install
. -
Start the development server.
npm run start
. -
Open
localhost:8000
in browser. 🎉