Refer to this link.
This project was bootstrapped with Create React App.
In the react-flask-app directory, you can run:
Installs all dependencies included in package.json
Runs the flask api server.
If there is an error, activate development environment before running the script.
source venv/bin/activate
OR
Run the following commands
cd flask-api
flask run
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Building a playground similar to this.