https://mukhindev.github.io/react-isometric-github-calendar/
Isometric Github Calendar with SVG and React.
- Rename file
.env.example
to.env
. Add your login and token* from GitHub. - Run
npm start
for developer mode.
-
Create a proxy server that will return data from the GitHub Api.
GraphQL query:
query { user(login: "login") { contributionsCollection { contributionCalendar { totalContributions months { name totalWeeks year firstDay } weeks { contributionDays { color contributionCount date weekday } firstDay } } } } }
-
Add
REACT_APP_PROXY_GITHUB_CALENDAR
variable to.env
. Assign url to proxy. -
Remove other variables
© Sergey Mukhin 2021 @mukhindev