Logo Lanfrica

MohamedELfaidy/FluSentinel-Egypt

Domain:

healthcare

Record type:

softwareproject
Creator:
Moh
Host:
# πŸ¦… FluSentinel Egypt > AI-powered early warning platform for Avian Influenza in Egypt ## Quick start (5 minutes) ```bash # 1. Clone and configure git clone cd flusentinel cp .env.local .env.local # already configured for local dev # 2. Start everything make up # 3. In a second terminal β€” first-time setup make migrate make seed make generate-data make train # Or run all at once: make setup ``` **Open:** - API docs β†’ localhost - Frontend β†’ localhost - MinIO console β†’ localhost (user: `flusentinel`, pass: `flusentinel_dev`) --- ## Project structure ``` flusentinel/ β”œβ”€β”€ main.py # FastAPI app entry point β”œβ”€β”€ core/ # Config, DB, security β”‚ β”œβ”€β”€ config.py β”‚ β”œβ”€β”€ database.py β”‚ β”œβ”€β”€ security.py β”‚ └── deps.py β”œβ”€β”€ models/ β”‚ └── tables.py # All SQLAlchemy ORM models β”œβ”€β”€ routers/ # One file per route group β”‚ β”œβ”€β”€ auth.py β”‚ β”œβ”€β”€ farms.py β”‚ β”œβ”€β”€ surveillance.py β”‚ β”œβ”€β”€ climate.py β”‚ β”œβ”€β”€ risk.py β”‚ β”œβ”€β”€ genomic.py β”‚ β”œβ”€β”€ alerts.py β”‚ β”œβ”€β”€ governorates.py β”‚ β”œβ”€β”€ reports.py β”‚ └── websocket.py β”œβ”€β”€ services/ # Business logic β”‚ β”œβ”€β”€ feature_engineering.py β”‚ β”œβ”€β”€ ml_predictor.py β”‚ β”œβ”€β”€ alert_dispatcher.py β”‚ β”œβ”€β”€ climate_etl.py β”‚ β”œβ”€β”€ genomic_pipeline.py β”‚ β”œβ”€β”€ genomic_qc.py β”‚ β”œβ”€β”€ mutation_scanner.py β”‚ β”œβ”€β”€ genomic_risk_scorer.py β”‚ β”œβ”€β”€ variant_comparator.py β”‚ β”œβ”€β”€ report_generator.py β”‚ └── genbank_fetcher.py β”œβ”€β”€ tasks/ β”‚ └── celery_app.py # Celery tasks + beat schedule β”œβ”€β”€ training/ β”‚ β”œβ”€β”€ train_xgboost.py # XGBoost model training β”‚ β”œβ”€β”€ train_lstm.py # LSTM seasonal model β”‚ └── export_training_data.py # DB β†’ CSV export β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ init.sql # PostGIS + TimescaleDB extensions β”‚ β”œβ”€β”€ seed_govs.py # Seed 27 governorates β”‚ └── generate_training_data.py # Synthetic training data β”œβ”€β”€ tests/ β”‚ β”œβ”€β”€ test_auth.py β”‚ β”œβ”€β”€ test_risk.py β”‚ └── test_surveil …