https://github.com/danielc92/react-crypto-app
Building a React cryptocurrency app. Powered by the CoinGecko API.
https://github.com/danielc92/react-crypto-app
cryptocurrencies react redux side-project
Last synced: over 1 year ago
JSON representation
Building a React cryptocurrency app. Powered by the CoinGecko API.
- Host: GitHub
- URL: https://github.com/danielc92/react-crypto-app
- Owner: danielc92
- Created: 2019-07-25T00:24:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T03:18:53.000Z (over 3 years ago)
- Last Synced: 2025-03-12T23:02:04.835Z (over 1 year ago)
- Topics: cryptocurrencies, react, redux, side-project
- Language: JavaScript
- Homepage: https://danielc92.github.io/react-crypto-app/
- Size: 20.1 MB
- Stars: 27
- Watchers: 0
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Cryptocurrency App
Consolidating RESTFUL calls from the CoinGecko API into a React application. I'll be using v3 of the API (the most recent version at the time of starting this project) This app will be using ant design for UI.
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
# Project Structure
Generated with `tree` command.
```
.
├── API
│ └── index.js
├── ChartConfig
│ └── index.js
├── components
│ ├── App.css
│ ├── App.js
│ ├── Coins
│ │ ├── ReactCoinCommunityStats.js
│ │ ├── ReactCoinDetailSummary.js
│ │ ├── ReactCoinDeveloperStats.js
│ │ ├── ReactCoinMarketDetailedStats.js
│ │ ├── ReactCoinMarketStats.js
│ │ ├── ReactCoinScores.js
│ │ ├── ReactCoinsDetail.js
│ │ └── ReactCoinsList.js
│ ├── Empty
│ │ └── ReactEmpty.js
│ ├── Events
│ │ └── ReactEvents.js
│ ├── ExchangeRates
│ │ └── ReactExchangeRates.js
│ ├── Exchanges
│ │ └── ReactExchangesList.js
│ ├── General
│ │ ├── ReactAbout.js
│ │ └── ReactHome.js
│ ├── Global
│ │ └── ReactGlobal.js
│ ├── Navigation
│ │ ├── ReactFooter.js
│ │ ├── ReactHeader.js
│ │ └── ReactSider.js
│ └── StatusUpdates
│ └── ReactStatusUpdates.js
├── constants
│ └── index.js
├── images
│ ├── branding
│ │ └── CoinGecko.png
│ ├── flaticon
│ │ ├── 001-bitcoin.svg
│ │ ├── 001-chat.svg
│ │ ├── 002-bitcoin-1.svg
│ │ ├── 002-bitcoin.svg
│ │ ├── 003-bitcoin-2.svg
│ │ ├── 003-smartphone.svg
│ │ ├── 004-exchange.svg
│ │ ├── 005-idea.svg
│ │ ├── 006-binary.svg
│ │ └── worldwide.svg
│ └── logo
│ └── logo.png
├── index.js
├── redux_actions
│ └── index.js
├── redux_reducers
│ └── index.js
└── styles
└── index.js
```
# Screenshots
**home**

**about**

**status updates**

**coins listing**

**coin details 1**

**coin details 2**

**coin details 3**

**event list**

**exchanges listing**

**exchange rates**

**global**

# Themes
The themes for this app will directly correlate to the api endpoints provided by the CoinGecko API. I want to split up the app into digestible React components in the following areas, which will most likely form part of a larger dashboard interface.
- Coins
- Exchanges
- Status Updates
- Exchange Rates
- Events
- Global
# Requirements (npm)
Requirements for this project can be found in the package.json. And can be installed with `npm install` from root of the project directory.
I aim to use the following packages:
**must have packages**
- antd (ui framework for react)
- react (front-end)
- react-router-dom (routing for react)
- chartjs (charting library)
- axios (graceful api calls)
**optional packages**
- redux (may need redux for state management if number of components grows)
- ant motion (animations for ant design ui)
# Tests
# Sources
- [The CoinGecko API](https://www.coingecko.com/en/api#)
- [React documentation](https://reactjs.org/docs/getting-started.html)
- [Ant Design Documentation](https://ant.design/docs/react/introduce)
# Steps to reproduce
```sh
# install dependencies and start local server (make sure you have nvm and yarn installed beforehand)
nvm use
yarn
yarn start
# building
yarn build
```