Pre-requirements to run the project
1. Install postgresql (if not exists in your system)
2. Install redis (if not exists in your system)
1. Create Virtualenvironment
2. Install requirements.txt dependency
3. Create postgresql database for the project
4. Run migrate command
python manage.py runserver
Run Celery Beside Dev server (Make sure redis server is running before celery run)
celery -A product_image_service worker -l info
Example of image scrapping API-
http://localhost:8000/api/v1/scrapers/image-fetcher/?url=https://unsplash.com/s/photos/web-scraping
Example of image list and image filter API -
http://localhost:8000/api/v1/scrapers/image-fetcher/
Query parameters are:
id, uid, url, size