Skip to content

josemasf/blood-donate

Repository files navigation

BLOOD DONATE

-----------------------------------------------------

📝 About the project

Blood donate is a scraper for Córdoba (Spain) Blood Bank Status. It also provides an API to check the scraped data.

🏗️ Architecture

  • Cheerio: an HTML parsing and manipulation library for Node.js.
  • Hono: a utility library for Node.js.
  • Node-fetch: a library for making HTTP requests from Node.js using the Fetch API.
  • Request: a simplified library for making HTTP requests from Node.js.
  • Wrangler: a command-line tool for working with Cloudflare Workers.

Architecture

🚀 Actions

We have 2 Github Actions

  • publish-api.yml a cron job to deploy the API
  • scrape-donantescordoba.yml a cron jon to scrape the web and update de API data

🏠 Site

https://blood-donate.josemasf.workers.dev/

Usage

Run script scrape to update localy data from Córdoba Blood bank

✨ Authors

José María Santos