A React-based cryptocurrency dashboard that displays real-time Bitcoin data, price trends, and market analysis.
- React + Vite
- Tailwind CSS for styling
- Axios for API calls
- React-responsive for mobile responsiveness
- TradingView Widget API
- CoinGecko API for crypto data
- Lucide React for icons
- Real-time Bitcoin price tracking
- Interactive TradingView chart
- Mobile responsive design
- Trending coins carousel
- Market sentiment analysis
- Tokenomics visualization
- Team information section
- Challenge: Multiple widget instances loading on state changes
- Solution: Implemented cleanup function and unique script ID
- Challenge: CoinGecko API rate limits
- Solution: Implemented error handling and loading states
- Challenge: Smooth scrolling on mobile and desktop
- Solution: Custom scroll implementation with ref-based navigation
- Challenge: Managing multiple complex components
- Solution: Modular component structure with clear separation of concerns
- Clone the repository
git clone https://github.com/LogicalGuy77/koinx-project.git
cd koinx-project
npm install
Add environment variables
VITE_API_KEY=your_coingecko_api_key
Run development server
npm run dev
src/
├── components/
│ ├── BitcoinComponent/
│ │ ├── BTCGraph.jsx
│ │ ├── BTCHeader.jsx
│ │ └── TradingViewWidget.jsx
│ ├── AboutCoin.jsx
│ ├── DetailsComponent.jsx
│ ├── Navbar.jsx
│ ├── Overview.jsx
│ ├── Sentiment.jsx
│ ├── Team.jsx
│ ├── Tokenomics.jsx
│ └── YouMayLike.jsx
└── App.jsx
- Advanced React component patterns
- Real-time data integration
- Responsive design implementation
- API integration and error handling
- State management in complex UIs
- Implement caching for API calls
- Add more cryptocurrency options
- Enhance mobile UX
- Add dark mode support