Skip to content

tohjustin/coincharts

Repository files navigation

About

CircleCI Codecov Release License

Coincharts is a cryptocurrency price chart based off Coinbase's original price chart on https://www.coinbase.com/charts

** Redux, Redux-Saga is used for learning purposes (slight overkill for this simple app)

Getting Started

Start the application's webpack-dev-server

yarn start

Linting & Testing

Linting

Run ESLint & Prettier

yarn run check

Fix ESLint all fixable errors & warnings

yarn lint:fix

Fix Prettier all fixable errors & warnings

yarn prettier:fix

Unit Testing

Run all unit tests & watch for changes

yarn test

Run all unit tests & enable Node Debugger

yarn test:debug

Run all unit tests & generate test coverage

yarn test:ci

Packaging

NOTE: Make sure you have updated .env.build before proceeding

Create a production build of the application & output the bundle into /build

yarn build

Scripts

Deploy application with ZIET Now

NOTE: Make sure you have created .env & updated now.json before proceeding

yarn script:deploy

Downloading API data

Takes a snapshot of responses from coinbase API & saves them into JSON files in public/priceData used for offline development

yarn script:downloadPriceData

License

Coincharts is MIT licensed.

FOSSA Status