Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 356 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 356 Bytes

React and Flask Demo

Run

# start backend, should have Flask and flask-cors installed.
cd backend
export FLASK_APP=hello.py
flask run
cd ..

## start frontend
cd frontend
npm start

Open http://localhost:3000, then you will see the Hello, Name! message. You can change the name variable in React to get a different message from flask.