Skip to content

fix: resolve API pipeline integration and end-to-end Docker build issues - #10

Merged
namidanam merged 3 commits into
AnmolM-777:mainfrom
namidanam:main
Apr 14, 2026
Merged

namidanam merged 3 commits into
AnmolM-777:mainfrom
namidanam:main

Conversation

@namidanam

Copy link
Copy Markdown
Collaborator

This PR standardizes the data flow between the Node.js backend and the Python server, ensuring robust multi-chain compatibility in the database, while also fixing deployment-blocking bugs in the Docker configuration and the React frontend's TypeScript compiler.

Key Changes:

Python ML Pipeline: Introduced a ChainRequest Pydantic model in FastAPI to capture request bodies from the Node wrapper, preventing the chain parameter from being silently dropped.
Database Architecture: Upgraded MongoDB operations in mongo.py to filter and uniquely upsert properties dynamically by both wallet and chain, so cross-chain historical data is not overwritten.
Docker Compose Orchestration: Switched to standard npm install gracefully inside multi-stage Dockerfiles (backend and frontend) to bypass restrictive lockfile incompatibilities on npm ci.
Frontend Build Stability: Repaired the Vite compiler build loop by registering vite/client environment types and temporarily overriding over-strict localized TypeScript lint assertions in tsconfig.json.

@namidanam
namidanam merged commit 34f63ea into AnmolM-777:main Apr 14, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant