Skip to content

feat: full CreditTech project — React frontend + FastAPI backend + ML pipeline - #1

Merged
arpitkumar2004 merged 2 commits into
mainfrom
feat/react-frontend-conversion
Sep 5, 2026
Merged

arpitkumar2004 merged 2 commits into
mainfrom
feat/react-frontend-conversion

Conversation

@Aditya001-max

Copy link
Copy Markdown
Collaborator

Summary

This PR brings the complete CreditTech alternative credit scoring system onto the repo.

Frontend (apps/borrower-app/ — React + Vite + Tailwind)

  • Home.tsx — KPI dashboard, ingestion rail health grid (AA / Geospatial / Bureau / SHG-FPO), simulate-run button with live API call
  • SakhiEntry.tsx — Borrower registration form with DPDP Act assisted-consent checkbox; submission blocked without consent
  • Fairness.tsx — Fairness monitor + DPDP storage-limitation purge panel
  • Applications.tsx / ApplicationDetail.tsx — Officer workspace with SHAP reason codes and human-in-the-loop decision panel
  • index.html — Outfit + Plus Jakarta Sans fonts, updated meta tags

Backend (services/core/ — FastAPI modular monolith)

  • Scoring, consent, decisioning, monitoring, grievance, simulation, ingestion, admin modules
  • SHAP explainability service
  • Append-only audit log

ML (ml/)

  • Feature engineering pipeline
  • Logistic scorecard training
  • Model registry with v1.0.0-logistic
  • SHAP evaluation

Database

  • Alembic migrations with full schema

Tests

  • 25+ pytest files covering all modules and phases

Infra & Docs

  • Terraform modules (container app, database, network, storage)
  • Phase 0–6 documentation, PDFs, presentation

Test plan

  • cd apps/borrower-app && npm install && npm run dev — loads at localhost:5173
  • Sakhi Entry: submit without consent checkbox → blocked with error
  • Home: 4 ingestion rail cards visible, Simulate run button fires
  • Fairness: DPDP purge button triggers confirm dialog
  • Backend: uvicorn services.core.main:app --reload starts OK
  • pytest tests/ passes

Merge

Safe to Squash and merge into main.

Aditya001-max and others added 2 commits September 5, 2026 13:20
…health UI

- Replace services/core/templates/dashboard.html content with React pages
- Home.tsx: ingest rail health grid, simulate-run button with live API call
- SakhiEntry.tsx: DPDP Act assisted-consent checkbox with submission guard
- Fairness.tsx: storage-limitation purge panel (POST retention-purge endpoint)
- apps/borrower-app/index.html: Outfit + Plus Jakarta Sans fonts, updated meta
- Add .gitignore for Python, Node, OS, and editor artifacts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@arpitkumar2004
arpitkumar2004 merged commit bb60905 into main Sep 5, 2026
3 of 4 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.

2 participants