A simple web app to display information about different cryptocurrency's pirce, news and market cap.
- This project created using React.JS and RapidAPI
Clone the project
git clone https://github.com/GajjarMiten/Cryptonium.git
Go to the project directory
cd Cryptonium
Install dependencies
npm install
Start the server
npm run dev
To run this project, you will need to add the following environment variables to your .env file
VITE_APP_RAPIDAPI_KEY
VITE_APP_CRYPTO_API_URL
VITE_APP_NEWS_API_URL
VITE_APP_NEWS_RAPIDAPI_HOST
VITE_APP_CRYPTO_RAPIDAPI_HOST
In this I've use two APIs from RapidApi
x-rapidapi-host: CRYPTO_RAPIDAPI_HOST,
x-rapidapi-key: RAPIDAPI_KEY,
GET https://coinranking1.p.rapidapi.com/coins?limit=$limit
GET https://coinranking1.p.rapidapi.com/coin/${coidId}
GET https://coinranking1.p.rapidapi.com/coin/${coinId}/history?timeperiod=${timeperiod}
GET https://bing-news-search1.p.rapidapi.com/news/search?q=${newsCategory}&safeSearch=Off&textFormat=Raw&freshness=Day&count=${count}