This app uses finnhub to retrieve the stocks data, in order to be able to run the app you need to create an account and retrieve the API key.
Once you have the API key make sure to add it to the application by duplicating the .env
file as .env.local
and setting the value of REACT_APP_FINNHUB_KEY
.
Please make sure you install the dependencies running:
yarn install
Once this finish you can run it using the following command:
yarn start
In order to create this widget I inspired myself in the following designs:
For the animation, I blatantly copied the implementation from react-spring examples.