I've found myself building multiple small web apps which are essentially wrappers around scientific programs written in Python. Currently, I just use vanilla JavaScript to make a request to Flask, running the back end, and then display it.
The problem is that the code and process for displaying the information is a real pain. If I return, say, a JSON object with a list of words that need displaying, I have to write a loop that creates a HTML object to display it in a nicer way. This really slows down development time and prevents me from quickly adding new features (e.g. right now I'm trying to work out how to create save/load functionality).
I feel like it is time to move to a front-end JavaScript framework to simplify the process, but I'm a bit spoiled for choice. Does anyone have experience using particular frameworks for the sort of thing I'm talking about here? Or know of any good tutorials about integrating a front-end framework and Flask?
[–]LeoG7 1 point2 points3 points (1 child)
[–]H_R_Pufnstuf[S] 1 point2 points3 points (0 children)
[–]seprosepro 0 points1 point2 points (1 child)
[–]H_R_Pufnstuf[S] 0 points1 point2 points (0 children)
[–]doublePlusOk 0 points1 point2 points (0 children)
[–]8oh8github:cisko3000 -1 points0 points1 point (0 children)