My application has a Python Flask back-end and a JavaScript / Facebook React front-end.
It needs to process text supplied by the user. It already works fine with text typed by the user in a input field.
I now want to let the user also update multiple local files to the server.
For a nice user experience, I want to use the Filepond library ([login to view URL]). The new client-side code is trivial:
```
```
But, I don't know how to write the corresponding server endpoint.
What I want from you is a toy sample app, using Flask and react-filepond which:
- Prompts the user for a multiple local text files, as well as one input text (which can be empty)
- Also has a "do it now" button on the client
- When "do it now" is pressed, the Flask server should show (in the log or server stdout) the contents of each of the uploaded files and the input box.