In my project I am using a React front-end and a Flask back-end. The basic functionality is that flask(api.py) reads the data of a file(log.txt), then React(App.js) fetches data