- python3
- node
- yarn
# setup backend api for flask
cd backend
pip install pinenv
pipenv install flask
pipenv install flask-cors
pipenv shell
python api.py # start api server at 5000
cd frontend #from root dir
yarn
yarn start #start react server at port 3000
- docker
- node
- yarn
cd frontend
yarn run build #build static html for production
docker-compose up -d # from root dir run docker as background proccess
#start backend at port 5000 & frontend at port 3000 as services