A real-time cryptocurrency tracking application.
Crypto Tracker is a modern React application using TypeScript, Redux, TailwindCSS, and the Coinranking API. It allows you to view prices, statistics, charts, and detailed information about cryptocurrencies.
- React — UI library
- TypeScript — static typing
- Redux Toolkit (RTK) — state management
- React Redux — Redux bindings for React
- React Router DOM — routing
- TailwindCSS — utility-first CSS framework
- Chart.js (via
react-chartjs-2) — charts and data visualization - DOMPurify — sanitizing and protecting against dangerous HTML
- Coinranking API — cryptocurrency data provider
- src/components/ — reusable components (Header, Footer, MarqueeSection, UI, etc.)
- src/components/pages/ — page-related components (Home, Coin)
- src/pages/ — top-level route pages (Home, Coin, NotFound)
- src/services/ — API service modules
- src/lib/ — utility functions
- src/app/ — Redux store
- src/types/ — domain-separated TypeScript types
- src/layout/ — layout components
- src/assets/ — assets
- src/constants.ts — constants
The application includes the following pages:
- Home (
/): Main page with cryptocurrency overview, statistics, and search. - Coin (
/coin/:coinId): Detailed information, stats, and chart for a specific coin. - NotFound (
*): 404 page for undefined routes.
- Install dependencies:
npm install
- Start the project:
npm run dev
- Open http://localhost:5173 in your browser.
This project uses the Coinranking API. Documentation is available here: Coinranking API Docs
Types are located in the src/types/ folder and separated by domain:
coin.types.ts— coin typesapi.types.ts— API response typesstats.types.ts— statistics typeshistory.types.ts— history types
MIT