mardi 7 juillet 2020

How to integrate flask and npm together

I have a flask app that starts with

python3 app.py

in localhost:5000

I also found another nodejs app that starts with

npm run start

in localhost:3000

I want to integrate the npm in my flask app. After statrting the flask app, if I press a html button in flask app, I want the npm app to run. How can I do that?




Aucun commentaire:

Enregistrer un commentaire