Table of Contents generated with DocToc
This project originated from a job interview.
It displays information about the Crypto currencies Bitcoin and Ethereum including current and past courses, a price history and a basic chart.
It is build with Vue.js and Vuetify within a week (and another one for refactoring).
A live version is deployed on Netlify. If you want to take a look, please follow this link.
The Code is hosted on GitHub and is open source.
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Lint with ESLint
npm run lint
The upper switches - Bitcoin and Ethereum - in the Control panel to the left serve as masters.
If both are disabled, this info is displayed and all other switches are disabled as well.
Toggle either of it or both to display the single currency courses and enable the other switches.
Toggle either of the latter in turn to display the appropriate data.
The Data displayed is provided by CoinGecko. If you are intrested, take a look at their API Playground.
The following Rules apply when selecting a date from the Date Picker:
- 1 day from current time = 5 minute interval data
- 1 - 90 days from current time = hourly data
- above 90 days from current time = daily data