Skip to content

Unused FastAPI dead code in backend/main.py #177

Description

@vedant-kawale-27

Title: Unused/dead FastAPI implementation in backend/main.py and schema dependencies

Description: The repository has a FastAPI server (main.py) which exposes /api/emails endpoints for MySQL storage. However, the application uses Flask (api.py) in production, docker-compose, and the local developer orchestrator. The FastAPI system and its dependencies (database.py, emails.py, export.py) are dead code.

Steps to Reproduce:

Inspect the running services in docker-compose.yml or run-dev.ps1; they exclusively launch api.py.
Proposed Fix: Either clean up the repository by removing main.py, database.py, emails.py, and export.py, or fully integrate the email database system into the active Flask service.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions