You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
# Run the flask app to serve out the web apiflask run# Run the web development server to serve out the React app# Web api calls will be proxied to the flask app (due to the "proxy" setting in "package.json")npm run start# Open the web app in a web browseropen http://localhost:3000
Running the Docker image locally
# Build the Docker imagedocker build --tag flask-and-react .# Run the Docker image in a containerdocker run --rm --env-file .env --publish 5000:5000 --name flask-and-react --detach flask-and-react# Open the web app in a web browseropen http://localhost:5000# View the output logged by the flask app running in the Docker containerdocker logs flask-and-react# Stop the Docker containerdocker stop flask-and-react