sridattapradeep/India_Equity_Scanner
0
India Equity Scanner — backend
FastAPI backend for india-equity-scanner.vercel.app: Minervini momentum / SMC / swing / reversal screeners over the Nifty 500, market breadth, walk-forward backtest, email digests, and user accounts.
This directory doubles as a Hugging Face Space (the YAML block above is the Space config — sdk: docker builds Dockerfile, traffic is routed to port 8000). A GitHub Action syncs backend/ to the Space on every push to master, so GitHub stays the single source of truth.
Required Space secrets (Settings → Variables and secrets): DATABASE_URL, AUTH_DATABASE_URL, JWT_SECRET, RESEND_API_KEY, RESEND_FROM, DIGEST_TO, STATE_GIST_ID, GITHUB_TOKEN, CORS_ORIGINS.
Run locally: venv\Scripts\activate && uvicorn main:app --port 8000 Tests: python -m pytest
