This project aims to display traffic on your personal projects.
First you need to create a key for Github API :
-
Go to your
Github Page / Settings / Developer settings -
Click on
Token (classic)
- Click on
Generate new token/Generate new token(not classic) - Set
Repository accessvalue toAll repositories - For
Permissions, you need at least to setAdministrationtoRead and write
Now, you'll have a token value, copy this value to your clipboard and paste this value inside your .env.example file :
TOKEN=... #your token valueFirst you need to setup your environment :
- Fill backend path in
.env.examplefile :
LIBRARY=... #path to ./backend- Change
.env.examplename to.env:
mv .env.example .envpython backend/utils/main.pycd front
npm start
