Service for scraping www.urparts.com website and build API for fetching data.
Use docker-compose to start the service.
docker-compose up
- Postgres database start up
- Run pytest on scraper
- Starting the scraper if there is no data in the database yet
- Run webapp FastAPI on http://127.0.0.1:8000/ur_parts/
bash tests/run_tests.sh
- Python 3.8
- requests
- BeautifulSoup4
- psycopg2
- Encode Databases