Single executable with Python and React.js : <p>I have two applications </p>

<ul>
<li>react.js + node.js app.</li>
<li><p>stand alone python app</p>

<p>I need to merge these two apps and distribute this single app in single executable/binary.
I understand i need to get rid of node.js and use python as my backend and 
change calls going from react-node to react-python. And for the latter i need to 
bring may be Flask.</p>

<p>For packaging i can use PyInstaller or cx_freeze.</p>

<p>Any pointers what is the best way to make this merge and create single executable/binary so that final workflow should be like below :</p>

<p>1) User gets the single executable/binary</p>

<p>2) Runs/Executes the executable/binary</p>

<p>3) This fires up the application which can be accessed on browser</p>

<p>4) User will be able to send request from UI (React) to Backend (Python)</p>

<p>So basically the single executable/binary has python env, python backend and react(UI) code.</p></li>
</ul>
