This project is a place for me to put some details about myself and a side project for me to work on to keep my web dev skills sharp.
- in
client/src/utils/backendApi.js
uncomment the localhost line for the baseUrl - open 2 terminals
- in one terminal cd into backend and run
npm run start
- in other terminal cd into client and run
npm run start
Note: for Mac OSX Monterey disable Airplay Receiver in System Preference > Sharing, as it runs on port 5000 and blocks the backend node app
manual deploy from local machine:
npm run build
to create build folder before deploymentnpm run deploy
to push latest website version togh-pages
branch- repo setup to build gh pages from
gh-pages
branch (specified in repo settings)
automated deploy when push to main
branch:
- does the above steps but handled by github action
deploy frontend
step
backend/vercel.json
configures the deployment- deployment runs on every push/merge to main