Dashboard with stats of pull requests made during hacktoberfest by Allegro employees.
See current stats: https://hacktoberfest.allegro.tech/ (the page is updated every 10 minutes).
Read more about hacktoberfest
Node and npm in recent versions are required.
To install dependencies run:
$ npm iTo run locally (with live preview):
$ npm run startIf you want to update current contributions run:
$ export TOKEN=GITHUB_PERSONAL_ACCESS_TOKEN
$ npm run prebuildTo generate static page run:
$ export TOKEN="GITHUB_PERSONAL_ACCESS_TOKEN"
$ npm ci
$ npm run buildNote, that this is a static page and contributions are fetched on build by a npm task prebuild and a TOKEN variable is used to access GitHub api.
In src/data directory there are json files with input data.
/users/{year}.jsonfiles are used to store participants info and fetch their pull requestscontributions.jsonis a list of pull requests made by participants, it stores historical data. Current data is updated by npmprebuildtask.inspirations.jsonlist of inspirations to display on inspirations tabrepositories.jsonlist of opensource repositories to display on inspirations tab