How oussama-inchallah/university-data-platform-mvp works
University Data Platform is a Moroccan-university data lakehouse: Airflow coordinates web and OpenAlex ingestion, raw storage, Silver normalization, Gold search indexing, and catalog synchronization. Users can search through the REST API and Streamlit interface; the platform also documents RAG and Metabase analytics. The DAG excerpt shows crawler and Spark task configuration, while README documents the broader Medallion flow. Several API, frontend, and job internals were not excerpted, so their links are limited to documented capabilities.
Main entry points: process_raw_to_hudi.py Silver Job · process_hudi_to_search.py Gold Search Job · dag_fsac.py Airflow DAGs · search_rag_api.py Search and RAG API
Components 30
Orchestration
- Airflow DAGs
dags/dag_fsac.py - Email Alerts
dags/utils/alerts.py
Ingestion
- Web Crawler
src/ingestion/crawler/engine.py - OpenAlex Fetcher
src/ingestion/openalex/fetcher.py - Storage Router
src/ingestion/crawler/storage.py
Lakehouse Processing
- Raw MinIO
- Silver Job
src/processing/jobs/process_raw_to_hudi.py - Config Loader
src/processing/core/config_loader.py - Document Parsers
src/processing/core/parsers - Semantic Router
src/processing/core/router.py - Data Cleaner
src/processing/core/transformers/data_cleaner.py - Hudi Writer
src/processing/core/writers/hudi_writer.py - Hudi Tables
Search and API
- Gold Search Job
src/processing/jobs/process_hudi_to_search.py - Chunking and Embeddings
src/processing/core/transformers/nlp_processor.py - Elasticsearch Writer
src/processing/core/writers/es_writer.py - Qdrant Writer
src/processing/core/writers/qdrant_writer.py - Elasticsearch
- Qdrant
- Search and RAG API
src/api/search_rag_api.py - Streamlit Frontend
src/frontend/app.py
Analytics and Ops
- Hive Catalog Sync
src/processing/jobs/sync_hudi_catalog.py - Hive Metastore
- Metabase BI
- Platform Logger
src/processing/core/utils/platform_logger.py
Other components
- University Sites
- OpenAlex API
- Gemini
- Platform User
- SMTP Email
Connections 35
- Airflow DAGs → Web Crawler: runs crawl
dags/dag_fsac.py - Airflow DAGs → Silver Job: submits job
dags/dag_fsac.py - Airflow DAGs → Gold Search Job: submits job
dags/dag_fsac.py - Airflow DAGs → Hive Catalog Sync: runs sync
README.md - Airflow DAGs → Email Alerts: configures failure alerts
dags/dag_fsac.py - University Sites → Web Crawler: provides pages
README.md - OpenAlex API → OpenAlex Fetcher: provides works
src/ingestion/openalex/fetcher.py - Airflow DAGs → OpenAlex Fetcher: runs ingestion
README.md - Web Crawler → Storage Router: stores crawled content
src/ingestion/crawler/engine.py - OpenAlex Fetcher → Storage Router: uploads JSON pages
src/ingestion/openalex/fetcher.py - Storage Router → Raw MinIO: writes raw objects
README.md - Silver Job → Raw MinIO: reads raw zone
README.md - Silver Job → Config Loader: loads rules
src/processing/jobs/process_raw_to_hudi.py - Silver Job → Document Parsers: parses documents
src/processing/jobs/process_raw_to_hudi.py - Silver Job → Semantic Router: routes records
src/processing/jobs/process_raw_to_hudi.py - Silver Job → Data Cleaner: cleans records
src/processing/jobs/process_raw_to_hudi.py - Silver Job → Hudi Writer: writes tables
src/processing/jobs/process_raw_to_hudi.py - Hudi Writer → Hudi Tables: writes curated data
README.md - Gold Search Job → Hudi Tables: reads tables
src/processing/jobs/process_hudi_to_search.py - Gold Search Job → Config Loader: loads rules
src/processing/jobs/process_hudi_to_search.py - Gold Search Job → Chunking and Embeddings: chunks and embeds
src/processing/jobs/process_hudi_to_search.py - Gold Search Job → Elasticsearch Writer: indexes text
src/processing/jobs/process_hudi_to_search.py - Gold Search Job → Qdrant Writer: indexes vectors
src/processing/jobs/process_hudi_to_search.py - Elasticsearch Writer → Elasticsearch: writes index
README.md - Qdrant Writer → Qdrant: writes vectors
README.md - Platform User → Streamlit Frontend: uses interface
README.md - Platform User → Search and RAG API: requests search
README.md - Search and RAG API → Elasticsearch: full-text search
README.md - Search and RAG API → Qdrant: semantic search
README.md - Search and RAG API → Gemini: generates RAG answers
README.md - Hive Catalog Sync → Hive Metastore: syncs catalog
README.md - Hive Metastore → Metabase BI: serves SQL analytics
README.md - Silver Job → Platform Logger: reports job status
src/processing/jobs/process_raw_to_hudi.py - Gold Search Job → Platform Logger: reports job status
src/processing/jobs/process_hudi_to_search.py - Email Alerts → SMTP Email: sends notifications
dags/utils/alerts.py