Skip to content

Latest commit

 

History

History
90 lines (77 loc) · 2.63 KB

File metadata and controls

90 lines (77 loc) · 2.63 KB

CryptoTracker

All-in-One Cryptocurrency App

Cryptocurrency data for over 10,000 cryptocurrencies, Modeled after CoinMarketCap and CoinGecko, and using data from different APIs including CoinGecko, and Etherscan.

Example image

Features

  • Top 100 cryptocurrencies with real-time data
  • Multiple pages for 10,000+ cryptocurrencies
  • Personal portfolio tracker
  • Variety of cryptocurrency widgets
  • Clean, responsive interface

Widgets

  • Cryptocurrency Scrolling Marquee
  • Cryptocurrency Cards
  • Trending List
  • Dominance Chart
  • Ethereum Gas Tracker
  • Crypto Fear & Greed Index

Prerequisites

  1. API Keys (free tiers available):

Setup

  1. Clone the repository
    git clone https://github.com/yourusername/cryptotracker.git
    cd cryptotracker
  2. Install dependencies
    npm install
  3. Create a .env file in the root directory:
    VITE_COINGECKO_DEMO_API_KEY="your_coingecko_api_key"
    VITE_ETHERSCAN_API_KEY="your_etherscan_api_key"
  4. Start the development server
    npm run dev

Project Structure

cryptotracker/
├── src/
│   ├── components/    # Reusable UI components
│   ├── contexts/      # React context providers
│   ├── data/          # Sample data files
│   ├── hooks/        # Custom React hooks
│   ├── pages/        # Main application pages
│   └── styles/       # Global styles
└── public/           # Static assets

Environment Variables

Variable Description
VITE_COINGECKO_DEMO_API_KEY CoinGecko API key for retrieving crypto and global market data
VITE_ETHERSCAN_API_KEY Etherscan API key for retrieving Ethereum gas data

Tech Stack

  • React + Vite
  • TypeScript
  • TailwindCSS
  • CoinGecko API
  • Etherscan API

Resources

Legacy Version

  • CryptoTracker Legacy
  • Original repository was forked and and can be found in the link above
  • Biggest change was removing most of the CSS to use TailwindCSS for more maintainable code

License

MIT