Welcome to the Cryptoverse GitHub repository! This project is a comprehensive and responsive cryptocurrency web application, leveraging various APIs and React.js tools to display the latest cryptocurrency prices, news, and other related data.
Cryptoverse is built with React.js and utilizes the Ant Design framework to create a responsive and user-friendly interface. The project integrates with external APIs, such as CoinRanking and Cryptocurrency News via RapidAPI, to fetch real-time data on cryptocurrencies.
- Cryptocurrency Prices and Details: Display real-time prices, historical data, and detailed information about various cryptocurrencies.
- Crypto News: Fetch and display the latest cryptocurrency news.
- Responsive Design: A fully responsive layout using Ant Design to ensure compatibility across different devices.
- Interactive Charts: Visualize price trends and historical data using Chart.js and React-Chartjs-2.
To get started with the project, clone this repository and install the necessary dependencies.
git clone https://github.com/your-username/cryptoverse.git
cd cryptoverse
npm install antd @ant-design/icons
npm install axios
npm install chart.js
npm install html-react-parser
npm install millify
npm install moment
npm install react-chartjs-2
The project follows a well-organized structure to maintain scalability and readability.
src/
|-- components/
| |-- Cryptocurrencies.jsx
| |-- CryptoDetails.jsx
| |-- Exchanges.jsx
| |-- Homepage.jsx
| |-- Linechart.jsx
| |-- Loading.jsx
| |-- Navbar.jsx
| |-- News.jsx
| |-- index.js
|
|-- images/
| |-- CoinDesk.png
| |-- cryptocurrency.png
| |-- loading.gif
|
|-- utils/
| |-- fetchdata.js
- Cryptocurrencies.jsx: Displays a list of cryptocurrencies with their current prices and other data.
- CryptoDetails.jsx: Shows detailed information about a selected cryptocurrency.
- Exchanges.jsx: Lists various cryptocurrency exchanges.
- Homepage.jsx: The main landing page of the application.
- Linechart.jsx: A component that renders a chart based on the price and timestamp data from the CoinRanking API.
- Loading.jsx: A loading spinner component.
- Navbar.jsx: The navigation bar for the application.
- News.jsx: Displays the latest news related to cryptocurrencies.
This folder contains various images used throughout the application, including logos and loading indicators.
- fetchdata.js: Contains functions for making API calls and fetching data from the CoinRanking and Cryptocurrency News APIs.
This project uses RapidAPI to make API calls to two services:
- CoinRanking: For fetching cryptocurrency data such as prices, market caps, and historical data.
- Cryptocurrency News: To get the latest news articles related to cryptocurrencies.
After cloning the repository and installing the dependencies, you can start the development server by running:
npm start
This will start the application on http://localhost:3000
.
You can visit the live version of the Cryptoverse application at the following link:
Feel free to contribute, raise issues, or suggest features to enhance Cryptoverse. Happy coding!