Flask with React
I've been programming with python for a while, but I have always been a disaster on web development.
Lately I am studying Flask for Rest API, and I like to work with React on my Node projects, so I tried my best on connecting Flask with React.
I wanted to create several routes with Flask (get,post,put,delete for each object), but I can't find a way to use more than one route on flask connected with React.
I am new to it, so I want a clarification on what I am missing on the equation.
If I am going to use React Router, then how do I create the render\_template on Flask for each route?
Sorry if this question is beyond dumb.
/r/flask
https://redd.it/c93hxi
I've been programming with python for a while, but I have always been a disaster on web development.
Lately I am studying Flask for Rest API, and I like to work with React on my Node projects, so I tried my best on connecting Flask with React.
I wanted to create several routes with Flask (get,post,put,delete for each object), but I can't find a way to use more than one route on flask connected with React.
I am new to it, so I want a clarification on what I am missing on the equation.
If I am going to use React Router, then how do I create the render\_template on Flask for each route?
Sorry if this question is beyond dumb.
/r/flask
https://redd.it/c93hxi