MongoDB for data storage of raw articles, and also reports
This includes the new installation of RabbitMQ and Celery.
Here is the theory behind the setup (also found within Task Scheduling notes):
HTTP POST /article -> Flask API-> Celery worker -> Add article to DB-> Celery Worker -> Aggregate Article for keywords to DB -> Celery worker -> Run ML on keywords -> Store Results in DB
Once you have completed the basic setup you will need to expose further ports, for outbound API connection, DB connection, and debugging connections. But that will be on a separate ticket.
The task is to successfully setup Docker and expose its port to connect to a basic Flask route to test usage
The Container needs the following installed:
This includes the new installation of RabbitMQ and Celery. Here is the theory behind the setup (also found within Task Scheduling notes):
HTTP POST /article -> Flask API
-> Celery worker -> Add article to DB
-> Celery Worker -> Aggregate Article for keywords to DB -> Celery worker -> Run ML on keywords -> Store Results in DB
Once you have completed the basic setup you will need to expose further ports, for outbound API connection, DB connection, and debugging connections. But that will be on a separate ticket.