尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A live cryptocurrency price dashboard with user accounts. It shows real-time market data for 7 major coins from the CoinGecko API, draws an interactive price-history chart for any coin, and refreshes automatically every 60 seconds. Sign-up and login are handled with Firebase Authentication.
🔗 Live Demo (create a free account on the Register tab to open the dashboard)
async/await, Fetch API)There is no build step, but the app uses ES modules, so it must be served over HTTP (opening the file directly will not work):
git clone https://github.com/coderblockch/crypto-dashboard.git
cd crypto-dashboard
python3 -m http.server 8000
# then open http://localhost:8000/login.html
To use your own Firebase project, replace the firebaseConfig object in js/firebase.js with your project's web config and enable Email/Password sign-in in the Firebase console.
crypto-dashboard/
├── index.html # dashboard (protected)
├── login.html # login / register page
├── css/
│ ├── styles.css # dashboard styles
│ └── auth.css # login page styles
└── js/
├── app.js # dashboard controller: auth guard, refresh timer, currency switch
├── api.js # CoinGecko requests (markets + price history)
├── ui.js # coin cards, price formatting, countdown
├── chart.js # Chart.js price-history chart and range buttons
├── auth.js # login / register form logic and error messages
└── firebase.js # Firebase init, auth helpers, Firestore user profile
David Jimenez, Sacramento, CA · GitHub @coderblockch · Portfolio