Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CryptoPrice

A real-time cryptocurrency price tracking application with an intuitive dashboard for monitoring and analyzing cryptocurrency markets.

Dashboard

Dashboard

Features

  • Real-Time Price Tracking - Monitor cryptocurrency prices with automatic 60-second updates
  • Detailed Information - View comprehensive data including price changes, market cap, and historical trends
  • Responsive Design - Optimized for both desktop and mobile experiences
  • Search Functionality - Quickly find specific cryptocurrencies
  • Dark/Light Mode - Toggle between themes based on preference
  • Customizable Display - Choose how many cryptocurrencies to display at once

Live Demo

Check out the live application: CryptoPrice on Vercel

Getting Started

Prerequisites

  • Node.js
  • npm or yarn
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/suchithh/CryptoPrice.git
  2. Navigate to the project directory:

    cd CryptoPrice
  3. Install dependencies for the web application:

    cd web-app
    npm install
  4. Run the development server:

    npm run dev
  5. Open http://localhost:3000 in your browser to view the application. (Alternatively, use the IP address and port number displayed in the terminal to access the application on other devices)

Documentation

Full documentation is available at https://suchithh.github.io/CryptoPrice/

Running the Documentation Locally

  1. Navigate to the docs directory:

    cd docs
  2. Install documentation dependencies:

    npm install
  3. Start the Docusaurus development server:

    npx docusaurus start
  4. Open http://localhost:3000 to view the documentation.

Technology Stack

  • Frontend: Next.js, React
  • Styling: Tailwind CSS, shadcn/UI
  • State Management: Zustand
  • Data Fetching: Axios
  • API: CoinGecko
  • Documentation: Docusaurus

Project Structure

CryptoPrice/
├── web-app/                # Next.js application
│   ├── src/
│   │   ├── app/            # Application code
│   │   │   ├── components/ # UI components
│   │   │   ├── store/      # Zustand state management
│   │   │   ├── page.tsx    # Main application page
│   ├── public/             # Static assets
├── docs/                   # Documentation site (Docusaurus)
│   ├── docs/               # Documentation content
│   ├── src/                # Documentation site components
│   ├── static/             # Static assets for documentation

Key Design Decisions

  • Client side filtering for responsive search experience
  • 60 second polling interval to respect API rate limits
  • Caching strategy for historical data to reduce redundant API calls
  • Mobile adjusted responsive design using Tailwind's responsive utilities

Screenshots

Screenshots

Detailed Information
Mobile View Search Functionality

Future Improvements

  • Portfolio tracking functionality
  • Price alerts and notifications
  • Additional historical chart options
  • WebSocket integration for real-time updates
  • Progressive Web App capabilities

Acknowledgements

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages