This repository is a collection of cryptocurrency-related information and resources. It provides a web application built with React, showcasing a list of cryptocurrencies along with their details.
You can check out the live cryptocurrency list application here.
- Display a list of cryptocurrencies
- Show details of each cryptocurrency
- Fetch cryptocurrency data from the CoinGecko API
- Use Axios for making API requests
- Utilize React Router for navigation
- Lazy load images for improved performance
- Apply Tailwind CSS for styling
To run the cryptocurrency-list application locally, follow these steps:
- Clone the repository
- Navigate to the project directory:
cd cryptocurrency-list
- Install the dependencies:
npm install
To start the development server, use the following command npm start
This will launch the application at http://localhost:3000
.
To build the application for production, use the following command npm run build
This will create a production-ready build in the build
folder.
To deploy the application to GitHub Pages, use the following command npm run deploy
This will deploy the application to the URL specified in the homepage
field of the package.json
file.
- React
- Axios
- CoinGecko API
- React Router
- React Icons
- React Lazy Load Image Component
- Tailwind CSS
- axios - Promise-based HTTP client for making API requests
- dompurify - Library to sanitize HTML
- react-router-dom - DOM bindings for React Router
- CoinGecko - CoinGecko API for fetching cryptocurrency data
- TailwindCSS - Utility-first CSS framework for styling
Contributions are welcome! If you'd like to contribute to the cryptocurrency-list project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make the necessary changes and commit them.
- Push your branch to your forked repository.
- Submit a pull request to the
main
branch of the original repository.
Please ensure that your code follows the project's coding style and conventions.
This project is licensed under the MIT License.