App to store and provide information about Pikabu website's articles that contain pictures with faces.
- Clone this project and go to the directory
git clone https://github.com/stupina/PikabuFacesAggregator.git && cd PikabuFacesAggregator
- Add file "env_file" to the our root directory. Add to params to file:
DB_NAME=db_service_name_from_docker_compose_file
DB_PORT=db_external_port_from_docker_compose_file
- Bring up the app
docker-compose up
- Browse to link to see the app in action.
This service periodically (every 60 minutes) parses the website's articles and store them into the database.
This service retuns information about website's articles that contain pictures with faces. Too get information use endpoint /articles. Example:
curl -X GET http://localhost:5000/articles