This project presents a Flask-based API for validating RO-Crates.
app/
βββ ro_crates/
β βββ routes/
β β βββ __init__.py # Registers blueprints
β β βββ post_routes.py # POST API routes
β βββ __init__.py
βββ services/
β βββ logging_service.py # Centralised logging
β βββ validation_service.py # Queue RO-Crates for validation
βββ tasks/
β βββ validation_tasks.py # Validate RO-Crates
βββ utils/
β βββ config.py # Configuration
β βββ minio_utils.py # Methods for interacting with MinIO
β βββ webhook_utils.py # Methods for sending webhooks
- Docker with Docker Compose
-
Clone the repository:
git clone https://github.com/eScienceLab/Cratey-Validator.git cd crate-validation-service
-
Build and start the services using Docker Compose:
docker compose build docker compose up