Lightweight FastAPI service that scrapes and exposes public auction data from the Spanish BOE auction portal (subastas.boe.es).
This project includes a Dockerfile and a docker-compose.yml to run the application in a container.
-
Build and start in the background
docker-compose up -d --build
-
Stop and remove containers
docker compose down
Notes: The container exposes port
8080which is forwarded to the host by the examples above.db.jsonandlogs/are mounted into the container so data and logs persist on the host.
Contributions are welcome! To set up your development environment:
- Clone the repository and enter the folder:
git clone https://github.com/Bug-Not-Detected/subastas-boe-api.git cd subastas-boe-api - Create a virtual environment and install Python dependencies:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt - Run the app locally:
python run.py
See the LICENSE.md file for details.