Skip to content

Track prices and market data for 1000s of cryptocurrencies with the CoinGecko API. Modeled after CoinMarketCap and CoinGecko.

Notifications You must be signed in to change notification settings

mrmendoza-dev/cryptotracker

Repository files navigation

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):

🎉 SPECIAL OFFER: Get 20% off ANY CoinGecko API Plan!
Valid on any monthly or annual plan: View Plans
Use code MENDOZA20 at checkout

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

About

Track prices and market data for 1000s of cryptocurrencies with the CoinGecko API. Modeled after CoinMarketCap and CoinGecko.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages