A responsive, real-time cryptocurrency dashboard built with React 19+, Vite, Tailwind CSS, and Chart.js. This application fetches live data from the CoinGecko API to display top crypto market trends, interactive charts, and a simplified user portfolio simulation.
- Overview
- Demo
- Features
- Installation
- Folder Structure
- Documentation
- Tech Stack
- Limitations & Future Work
- Contributing
- License
This application simulates a logged-in user's crypto portfolio. It uses hardcoded mock data to demonstrate core features like portfolio performance, coin tracking, and real-time data updates.
- Displays a list of the top 10 coins by market cap.
- Allows users to search and filter coins.
- Renders price charts with auto-refresh capabilities.
- Built with performance and developer experience in mind.
- Live data updates from CoinGecko
- Currency switcher (USD, EUR, GBP)
- Mock portfolio with profit/loss tracking
- Responsive design for all screen sizes
- Reusable, modular component structure
- Lightweight and fast (built with Vite)
- Node.js v16+
- npm or yarn
- A CoinGecko API Key
git clone https://github.com/your-username/crypto-dashboard.git
cd crypto-dashboard
npm install
Create a .env
file in the root directory with the following:
VITE_COINGECKO_API_KEY=your_api_key_here
npm run dev
If you've never used Tailwind CSS before, follow the official Tailwind + Vite installation guide.
src/
│
├── components/
│ ├── Navbar.jsx
│ ├── Sidebar.jsx
│ ├── Market.jsx
│ ├── Graph.jsx
│ └── QuickStats.jsx
│
├── context/
│ └── CoinContext.jsx
│
├── pages/
│ ├── Dashboard.jsx
│ └── Market.jsx
│
├── App.jsx
├── main.jsx
└── index.css
Full documentation available in the docs/
folder:
- React 19+
- Vite (for blazing fast development)
- Tailwind CSS
- Chart.js
- CoinGecko API
- Portfolio and watchlist data is currently hardcoded.
- No user authentication.
- Limited to 10 coins.
- Add user authentication (Firebase or Auth0)
- Enable real-time watchlist management
- Expand API integration for broader historical data
- Improve responsiveness and accessibility
We welcome contributions. If you'd like to make changes:
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature
) - Make your changes
- Submit a PR for review
Avoid working directly on main
— we encourage development via pull requests.
- React 19+
- Vite (for blazing fast development)
- Tailwind CSS
- Chart.js
- CoinGecko API
- Portfolio and watchlist data is currently hardcoded.
- No user authentication.
- Limited to 10 coins.
- Add user authentication (Firebase or Auth0)
- Enable real-time watchlist management
- Expand API integration for broader historical data
- Improve responsiveness and accessibility
We welcome contributions. If you'd like to make changes:
- Fork the repository
- Create a feature branch (
git checkout -b feature/your-feature
) - Make your changes
- Submit a PR for review
Avoid working directly on main
— we encourage development via pull requests.
This project is open-source and available under the MIT License.