I'm currently building a selfhosted Vuejs webapp (with account logins). The webapp needs to be a Python webscraper GUI where my user has control over the Python scraper.
So for example, the user fills in an endpoint, starts scraper, view results, trigger a new more depth scraper, etc.
I have the Python scripts for scraping. And I have decided to go with VueJS + AWS cognito + Hasura for the frontend
I have difficulties understanding how to trigger the python scripts and dump the results in the database and show them to the frontend.
I do like the 3 factor approach:
The data from my scrapers can be many db entries, so I don't like to enter them in the database via mutations.
Do I have to make Flask endpoints to let Hasura trigger these webhooks? I'm not familiar with serverless. How do I make my Python scraper scripts serverless? Or can I just use SQLalchemy to dump the scraper results into the database? But how do I notify my frontend user that the data is ready?