Skip to content

erferguson/crypto-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Crypto Tracker

A searchable cryptocurrency price tracker app which renders in real-time the price, volume, change and market cap.

Crypto Tracker

  • HitCount

Overview

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
  • npm version

Steps

- 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

About

A searchable React cryptocurrency tracker app built with Axios, a public API and CSS. Hosted with Github Pages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published