How detached-fiber21/discdocknet works
DiscDockNet is a research application for exploring nutraceutical compounds and IVDD-associated proteins, importing analysis datasets, and viewing docking, network, enrichment, and report results. Users navigate the React modules, query or upload data through the REST API, and receive database-backed results or explicit pending states; reports can be exported. The backend also seeds reference records and parses compound SDF files for depictions. Edges reflect shown imports, route registration, or documented API behavior; several unsampled route details are intentionally not inferred.
Main entry points: App.jsx App navigation · api.js REST client · main.py FastAPI entry · models.py Research records
Components 28
Research interface
- App navigation
frontend/src/App.jsx - Dashboard
frontend/src/pages/DashboardPage.jsx - Compound explorer
frontend/src/pages/CompoundsPage.jsx - Protein explorer
frontend/src/pages/ProteinsPage.jsx - Docking view
frontend/src/pages/DockingPage.jsx - PPI network
frontend/src/pages/PpiNetworkPage.jsx - Hub gene analysis
frontend/src/pages/HubGenesPage.jsx - GO analysis
frontend/src/pages/GoAnalysisPage.jsx - KEGG analysis
frontend/src/pages/KeggAnalysisPage.jsx - Global search
frontend/src/pages/SearchPage.jsx - Reports and datasets
frontend/src/pages/ReportsPage.jsx - Dataset upload
frontend/src/components/DatasetUploadPanel.jsx - REST client
frontend/src/services/api.js
API and ingestion
- FastAPI entry
backend/main.py - Compound routes
backend/routes/compounds.py - Protein routes
backend/routes/proteins.py - Docking routes
backend/routes/docking.py - Search and reports
backend/routes/system_routes.py - Dataset validation
backend/services/import_service.py - Report generation
backend/services/report_service.py - API schemas
backend/schemas.py
Research modules
- Network routes
backend/routes/network.py - Enrichment routes
backend/routes/enrichment.py
Persistence and reference data
- SQLite database
backend/database.py - Research records
backend/models.py - Reference seeding
backend/services/seed_data.py - SDF depiction parser
backend/services/sdf_parser.py
Other components
- Researcher
Connections 44
- Researcher → App navigation: uses
README.md - App navigation → Dashboard: displays
frontend/src/App.jsx - App navigation → Compound explorer: displays
frontend/src/App.jsx - App navigation → Protein explorer: displays
frontend/src/App.jsx - App navigation → Docking view: displays
frontend/src/App.jsx - App navigation → PPI network: displays
frontend/src/App.jsx - App navigation → Hub gene analysis: displays
frontend/src/App.jsx - App navigation → GO analysis: displays
frontend/src/App.jsx - App navigation → KEGG analysis: displays
frontend/src/App.jsx - App navigation → Global search: displays
frontend/src/App.jsx - Dashboard → REST client: requests data
frontend/src/pages/DashboardPage.jsx - Compound explorer → REST client: requests data
frontend/src/pages/CompoundsPage.jsx - Protein explorer → REST client: requests data
frontend/src/pages/ProteinsPage.jsx - Docking view → REST client: requests data
frontend/src/pages/DockingPage.jsx - PPI network → REST client: requests data
frontend/src/pages/PpiNetworkPage.jsx - Hub gene analysis → REST client: requests data
frontend/src/pages/HubGenesPage.jsx - GO analysis → REST client: requests data
frontend/src/pages/GoAnalysisPage.jsx - KEGG analysis → REST client: requests data
frontend/src/pages/KeggAnalysisPage.jsx - Global search → REST client: searches via
frontend/src/pages/SearchPage.jsx - Dataset upload → REST client: uploads via
frontend/src/components/DatasetUploadPanel.jsx - FastAPI entry → Compound routes: registers
backend/main.py - FastAPI entry → Docking routes: registers
backend/main.py - FastAPI entry → Protein routes: registers
backend/main.py - FastAPI entry → Network routes: registers
backend/main.py - FastAPI entry → Enrichment routes: registers
backend/main.py - FastAPI entry → Search and reports: registers
backend/main.py - REST client → Search and reports: calls upload API
frontend/src/services/api.js - Search and reports → Dataset validation: imports datasets
backend/routes/system_routes.py - Enrichment routes → Dataset validation: imports results
backend/routes/enrichment.py - Search and reports → Report generation: generates reports
backend/routes/system_routes.py - Search and reports → Research records: queries records
backend/routes/system_routes.py - Compound routes → Research records: queries records
backend/routes/compounds.py - Protein routes → Research records: queries records
backend/routes/proteins.py - Docking routes → Research records: queries records
backend/routes/docking.py - Network routes → Research records: queries records
backend/routes/network.py - Enrichment routes → Research records: queries records
backend/routes/enrichment.py - Research records → SQLite database: uses base
backend/models.py - Reference seeding → Research records: creates references
backend/services/seed_data.py - Reference seeding → SDF depiction parser: parses compounds
backend/services/seed_data.py - FastAPI entry → Reference seeding: initializes database
backend/main.py - Compound routes → API schemas: formats responses
backend/routes/compounds.py - Docking routes → API schemas: formats responses
backend/routes/docking.py - Network routes → API schemas: formats responses
backend/routes/network.py - Enrichment routes → API schemas: formats responses
backend/routes/enrichment.py