A searchable cryptocurrency price tracker app which renders in real-time the price, volume, change and market cap.
Readme Driven Development with a component-based build approach. Built using:
- React w/ useEffect & useState
- Axios
- Data pulled from a public API
- CSS
- Hosted w/ GitHub Pages
- get API key, set parameters for key,
https://www.coingecko.com/en/api
- import Axios + useState,useEffect
- set useState (coins, setCoins) to []
- set useEffect w/ axios to .get() API key
- .then set to setCoins
- tested, data passes
- JSX
- created Search & Coin components
- Coin, rafce
- basic jsx + classNames
- props, passed in from App
- priceChange
- if < 0
- Search, rafce
- basic jsx + classNames
- handelChange with setSearch