Giter VIP home page Giter VIP logo

cryptonium's Introduction

Cryptonium

A simple web app to display information about different cryptocurrency's pirce, news and market cap.

  • This project created using React.JS and RapidAPI

Run Locally

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

Environment Variables

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

API Reference

In this I've use two APIs from RapidApi

Headers required*

  x-rapidapi-host: CRYPTO_RAPIDAPI_HOST,
  x-rapidapi-key: RAPIDAPI_KEY,

Get all coins with limit

  GET https://coinranking1.p.rapidapi.com/coins?limit=$limit

Get details of a coin

  GET https://coinranking1.p.rapidapi.com/coin/${coidId}

Get history of coin

  GET https://coinranking1.p.rapidapi.com/coin/${coinId}/history?timeperiod=${timeperiod}

Get Crypto News

  GET https://bing-news-search1.p.rapidapi.com/news/search?q=${newsCategory}&safeSearch=Off&textFormat=Raw&freshness=Day&count=${count}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.