npm install
- create backend/secret.js as
module.exports.apikey = 'yourapikey';
or export the env varAPI_KEY=""
npm run backend
parallel -eta convert {} {.}.jpg ::: dist/assets/*/*/*.png
- production:
npm run build
- development:
npm run dev
The frontend is written with the Vue JavaScript framework and the Bulma CSS framework using Buefy, built by Webpack with Babel for cross browser support. It is hosted on GitHub pages.
The /matches
endpoint is called in equidistant intervals for a small set of matches. An hour of each set is aggregated and stored in a timestamped json. All timestamped jsons are aggregated and generate the output report json.
The code was written with Ramda as an excercise in functional programming with JavaScript.