How walou974/lecturesdujour works
Évangile du Jour serves liturgical readings and the Gospel verse for a selected date. The main user flow is React date selection → concurrent PHP reading and verse requests → SQLite-backed results → reading cards and verse display. A separate Python importer retrieves liturgical data from AELF and stores readings and verses. The graph preserves the documented import, storage, API and UI capabilities; unsampled PHP-to-database details rely on the README’s architecture description.
Main entry points: App.jsx Date-based app · main.py Liturgical importer · schema.sql Text database · DBHelper.py SQLite helper
Components 15
Data ingestion
- Liturgical importer
back/scripts/main.py - SQLite helper
back/scripts/DBHelper.py - Import logging
back/scripts/LogHelper.py
Text storage
- Text database
back/database/schema.sql
PHP API
- Readings endpoint
back/api/lectures.php - Verse endpoint
back/api/verse.php - Refresh endpoint
back/api/refresh.php
Reading interface
- Date-based app
front/src/App.jsx - Date navigation
front/src/components/DateSelector.jsx - Page heading
front/src/components/Header.jsx - Theme toggle
front/src/components/ThemeToggle.jsx - Reading card
front/src/components/Card.jsx - Verse display
front/src/components/VerseCard.jsx
Other components
- Reader
- AELF service
Connections 15
- Reader → Date-based app: opens
README.md - Date-based app → Date navigation: renders
front/src/App.jsx - Date-based app → Page heading: renders
front/src/App.jsx - Date-based app → Theme toggle: renders
front/src/App.jsx - Date-based app → Reading card: renders
front/src/App.jsx - Date-based app → Verse display: renders
front/src/App.jsx - Date-based app → Readings endpoint: requests readings
front/src/App.jsx - Date-based app → Verse endpoint: requests verse
front/src/App.jsx - AELF service → Liturgical importer: provides liturgy
back/scripts/main.py - Liturgical importer → SQLite helper: imports texts
back/scripts/main.py - Liturgical importer → Import logging: logs progress
back/scripts/main.py - SQLite helper → Text database: reads and writes
back/scripts/DBHelper.py - Readings endpoint → Text database: reads readings
README.md - Verse endpoint → Text database: reads verse
README.md - Refresh endpoint → Liturgical importer: triggers refresh