Flask directly creates the output Restful API.
The front-end jQuery can directly request data to render the page.
The front end can also use some js frameworks, such as angular.js and ember.js, etc.
This first loads the static html. In the html, you can use jQuery to call the written REST API to load the data, and then parse the data on the browser side and present it.
Cheek Nao
Reference stackoverflow
Reference official documentation
Flask directly creates the output Restful API.
The front-end jQuery can directly request data to render the page.
The front end can also use some js frameworks, such as angular.js and ember.js, etc.
You can put the rendering template on the front end
13 JavaScript template engines
This first loads the static html. In the html, you can use jQuery to call the written REST API to load the data, and then parse the data on the browser side and present it.