jorshman
jorshman
RRailway
Created by jorshman on 9/6/2023 in #✋|help
Difficulty with deploying a Flask + React app
Hi - I have a code architecture with a Flask backend (python) and a Node React frontend. The architecture of my code is as follows: api/ (flask app) -- api.py -- <other flask files> main.py frontend/ -- package.json -- <other react files> For a deployment, I need to be able to: 1) start the Flask server 2) cd into the frontend directory 3) npm install && npm run build the frontend. On my local machine, I am running the FE & BE through two different terminals. Any guidance would be greatly appreciated!
4 replies