This is a guid to develope the project. See README.md if you want to add your name.
yarn install
yarn serve # Compiles and hot-reloads for development
yarn build # Compiles and minifies for production
yarn lint # Lints and fixes files
For Quick setup grab a copy from gh-pages branch and in put it inside public/
.
The nameDB is a big json file which contains all user added json files into one. It also fetches github avatar url from GitHuB id. You will need a GitHub oAuth token to build nameDB.json. The script fetches avatar_url from GitHuB id and without oAuth GitHub limits 60 request per hours.
- Visit Personal Acess Tokens and create one.
- Create
.env
file. - Add token in .env as
GITHUB_TOKEN=<your token here>
- Run
node .github/actions/buildDB.js