Skip to content
how to do a react flask app with python3 and nodejs in one repl?
Profile icon
h
has Hacker Plan
Travelbug

I'm wondering if I could use repl.it to develop a webapp that contains both, a python3 backend with flask and a nodejs frontent with react.

Basically I try to replicate this tutorial: https://blog.miguelgrinberg.com/post/how-to-create-a-react--flask-project

Is there a way to configure a repl to run python3 AND nodejs?

You are viewing a single comment. View All
Profile icon
RYANTADIPARTHI

I'm not sure. I'm thinking no... But python3 and flask are the same language. Flask is python, but is only a webframework, so they are not separate. But front-end, shouldn't you use a styling language?

Profile icon
Travelbug

@RYANTADIPARTHI Thanks for your reply. I want to create a frontend with react and a backend with flask. This means it would be most convenient to to run a react compiler on my repl. as well as a flask webserver.

One runs with nodejs and one with python. Ideally I want to have both on the same repl because both are in the same git repository as well. This would be no problem with a normal Linux environment where I just start two processes with nodejs and python.

Profile icon
RYANTADIPARTHI

@Travelbug yes, i think you can make that.

Profile icon
Travelbug

@RYANTADIPARTHI but how do I get python3 AND nodejs running on a repl? I have no sudo apt-get to install anything. And I didn't manage to find any configuration settings for this.

Profile icon
Coder100

why would you want to have node.js and flask running together? React is frontend, that is the one thing you must always remember. @Travelbug

Profile icon
RYANTADIPARTHI

@Travelbug yeah, node.js wouldn't be useful for the python.