alexisfranche / sporthub

0 stars 1 forks source link

Establish a proper data pipeline from the web scraper to the backend #23

Open alexisfranche opened 4 years ago

alexisfranche commented 4 years ago

Here are two formats I believe we could use to communicate with a json file:

  1. The web scraper automatically stores the scraped data to the postgresql database in its own table and then the backend retrieves it through a simple query to that table. Scraper has write access to that table and backend only has a read access to that table.

  2. Backend has an end point in the RESTful services to recieve a json file and the scraper automatically sends a post resquest to the backend.