Automatically fetch information and prices for a vinyl record.
- Official API for
Discogs
- to fetch album information such as name, release data and a link to a cover image. - Screenscraping for
Amazon
,Ebay
,Value Your Music
andThe Records corner
to get a price range for the queried album.
/price-fetching-service
contains the back-end (ExpressJS) and screen-scraping (Puppeteer) functionality./web-app
contains the front-end (React) from which queries about album pricing are sent./infrastructure
contains the Docker configuration and a script to set up the database (Postgres).
A prerequisite for running this is having registered an app with Discogs, so that you have a client secret and client key to use.
- Put your Discogs client secret and client key tokens in the
docker-compose.yml
file in thetuner-price-fetching-service
environment variables section. cd infrastructure && docker-compose up
- Add typing to
web-app