8000 GitHub - tohjustin/coincharts at 2.2.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tohjustin/coincharts

Repository files navigation

coincharts

CircleCI codecov License: MIT

A cryptocurrency price chart based off https://www.coinbase.com/charts

** 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
0