Crypto App is a React application that displays information about cryptocurrencies. Users can search for specific cryptocurrencies and view details about each coin, including a price chart.
Make sure you have Node.js and npm installed on your machine.
git clone [https://github.com/r-o-z-a/cryptocurrencyapp-reactjs-tailwindcss.git]
cd crypto-app
npm install
npm run dev
The app will be available at http://localhost:5173.
The project consists of the following components:
App
: The main component that fetches cryptocurrency data and renders the list of coins.Coin
: displays information about a cryptocurrency, including its name, price, symbol, and price change percentage. It also includes a dynamic background color based on the price change.Details
: shows detailed information about a selected cryptocurrency. It includes a line chart displaying percentage changes over different time intervals.Navbar
: provides a navigation bar with the title "Crypto App" and a search input for filtering cryptocurrencies.LineChartComponent
: a reusable component for displaying line charts. It is utilized within the Details
component to visualize percentage changes for a selected cryptocurrency over time.