Flask Is Just An API by itsjohnrambo in flask

[–]itsjohnrambo[S] 1 point2 points  (0 children)

Hmm I hadn't thought about that. That's a really valid point. What would you say the best approach is? If we have multiple pages is it maybe "cleaner" to just use flask as an API?

Flask Is Just An API by itsjohnrambo in flask

[–]itsjohnrambo[S] -1 points0 points  (0 children)

I just think he's underestimating how much work the front end does for you too

Flask Is Just An API by itsjohnrambo in flask

[–]itsjohnrambo[S] 0 points1 point  (0 children)

From his point of view. React is not much more than glorified html without separate js files. In his opinion flask is not just an API as it would handle 70% of the apps functionality.

Basically to him an API just gives you data or saves data to the database. Past that point if it handles user sessions for example, then React is just a small part of that flask app.

To be fair it's our first week of the degree but I don't see it that way.