A dashboard providing real-time Crypto data from CoinGecko API.
- Stats cards displaying live Crypto prices and calculated biggest gain and loss in 24 hours.
- Coin table showing 10 Crypto coins data, including symbol, logo and price change in 24 hours.
- Colour coded price changes
- Error handling using try/catch blocks
- Loading state while fetching data
- Responsive layout and styling for mobile and desktop, using Tailwind CSS
- Type checking using TypeScript
- Vite
- CoinGecko API
- React.js (including useState and useEffect)
- TypeScript
- Tailwind CSS
- Deployed on Vercel
- Clone the repo from GitHub -
git clone - Run
npm install - Create a
.envfile in the root, and add your api key toVITE_API_KEY= - Run
npm run dev