2.2.1 • Published 6 years ago
coincharts v2.2.1
coincharts
A cryptocurrency price chart based off https://www.coinbase.com/charts
- Bootstrapped with create-react-app
- Built with React.js, Redux**, Redux-Saga**, styled-components, D3.js
- Prices retrieved from Coinbase API
- Deployed with Now
- Error Logging with Sentry + Raven.js
- Page View tracking with Google Analytics + react-ga
** Redux, Redux-Saga is used for learning purposes (slight overkill for this simple app)
Installation
Prerequisites: Node & npm installed on your system.
git clone https://github.com/tohjustin/coincharts.git
cd ./coincharts
npm install
You might also want to install Now for deployment
npm install now-cli -g
Getting Started
**NOTE** Make sure you create a .env
file before proceeding on (see .env.example for list of environment variables to populate)
# Runs the app in development mode at `localhost:3000`
npm run start
# Create production build in `/build` folder
npm run build
# Deploy app with `now.sh` using configuration defined in `now.json`
npm run script:deploy
# Takes a snapshot of responses from coinbase API & saves them into JSON files in `public/priceData` (for offline development)
npm run script:downloadPriceData
2.2.1
6 years ago