This is a simple portfolio list using react
yarn create react-app $appname
cd $appname
yarn start
npm install gh-pages --save-dev
Add to top:
"homepage": "http://{username}.github.io/{repo-name}"
On scripts section use:
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
npm run deploy
https://dev.to/yuribenjamin/how-to-deploy-react-app-in-github-pages-2a1f