Trying to connect a Python script to React JS

In short, I’m using a python script to output JSON data from a database and I want to feed that JSON data onto a React platform. I am currently using Google Cloud SSH to host my python script from a github repository, and I’ve got that pretty much working. I am currently looking for a way to get that into React, but its very possible I am overcomplicating things. Any help would be much appreciated.
https://19216811.cam/ https://1921681001.id/