How sahildhanawadeofficial/latch works
BioVault-AI combines multi-factor biometric security, transaction risk controls, and financial retrieval/chat capabilities. The main user journey is authentication, followed by dashboard use and PIN/biometric-gated transfers; separate lab and search views expose the AI and retrieval features. The API service is the runtime hub for its Python modules, while the backend also proxies AI requests. Some frontend-to-backend request wiring and unsampled module internals are not shown, so those links are omitted.
Main entry points: app.py AI API service · App.jsx Application shell · authController.js Authentication controller · transactionController.js Transaction controller
Components 34
Client application
- Application shell
frontend/src/App.jsx - Authentication UI
frontend/src/components/AuthModal.jsx - Financial dashboard
frontend/src/pages/Dashboard.jsx - Deep learning lab
frontend/src/pages/DeepLearningLab.jsx - IR search
frontend/src/pages/IRSearch.jsx - AI chatbot UI
frontend/src/pages/AIChatbot.jsx
Identity and security
- Face biometrics
frontend/src/utils/faceBiometrics.js - Authentication routes
backend/routes/authRoutes.js - Authentication controller
backend/controllers/authController.js - Identity state
backend/models/store.js - JWT key service
backend/services/keyService.js - Token middleware
backend/middleware/authMiddleware.js - Email service
backend/services/emailService.js
Transaction processing
- Transaction routes
backend/routes/transactionRoutes.js - Transaction controller
backend/controllers/transactionController.js - Transaction state
backend/models/store.js - Mongo transaction models
backend/models/mongoModels.js
AI and information retrieval
- AI proxy routes
backend/routes/aiProxyRoutes.js - AI API service
ai_engine/app.py - Liveness classifier
ai_engine/lstm_liveness.py - Anomaly detection
ai_engine/autoencoder_anomaly.py - Spending clusters
ai_engine/gmm_spending.py - Vision pipeline
ai_engine/vision_pipeline.py - Vision case studies
ai_engine/case_studies - Web crawler
ai_engine/crawler.py - PageRank
ai_engine/pagerank.py - MapReduce indexer
ai_engine/mapreduce_indexer.py - Parallel retrieval
ai_engine/parallel_ir.py - Language-model IR
ai_engine/language_model_ir.py - Ranking evaluation
ai_engine/ranking_eval.py - Recommender
ai_engine/recommender.py - Entity extraction
ai_engine/information_extraction.py - Semantic graph
ai_engine/semantic_web.py
Other components
- User
Connections 36
- User → Application shell: uses
- Application shell → Authentication UI: renders
frontend/src/App.jsx - Application shell → Financial dashboard: renders
frontend/src/App.jsx - Application shell → Deep learning lab: renders
frontend/src/App.jsx - Application shell → IR search: renders
frontend/src/App.jsx - Application shell → AI chatbot UI: renders
frontend/src/App.jsx - Authentication UI → Face biometrics: uses
frontend/src/components/AuthModal.jsx - Financial dashboard → Face biometrics: uses
frontend/src/pages/Dashboard.jsx - Authentication routes → Authentication controller: dispatches
backend/routes/authRoutes.js - Authentication routes → Token middleware: protects
backend/routes/authRoutes.js - Authentication controller → Identity state: reads/writes
backend/controllers/authController.js - Authentication controller → JWT key service: loads keys
backend/controllers/authController.js - Authentication controller → Email service: sends email
backend/controllers/authController.js - Token middleware → JWT key service: loads keys
backend/middleware/authMiddleware.js - Transaction routes → Transaction controller: dispatches
backend/routes/transactionRoutes.js - Transaction routes → Token middleware: protects
backend/routes/transactionRoutes.js - Transaction controller → Transaction state: reads/writes
backend/controllers/transactionController.js - Transaction controller → Mongo transaction models: queries
backend/controllers/transactionController.js - Transaction controller → AI API service: requests risk
backend/controllers/transactionController.js - AI proxy routes → AI API service: forwards requests
backend/routes/aiProxyRoutes.js - AI API service → Liveness classifier: calls
ai_engine/app.py - AI API service → Anomaly detection: calls
ai_engine/app.py - AI API service → Spending clusters: calls
ai_engine/app.py - AI API service → Vision pipeline: calls
ai_engine/app.py - AI API service → Vision case studies: calls
ai_engine/app.py - AI API service → Web crawler: calls
ai_engine/app.py - AI API service → PageRank: calls
ai_engine/app.py - AI API service → MapReduce indexer: calls
ai_engine/app.py - AI API service → Parallel retrieval: calls
ai_engine/app.py - AI API service → Language-model IR: calls
ai_engine/app.py - AI API service → Ranking evaluation: calls
ai_engine/app.py - AI API service → Recommender: calls
ai_engine/app.py - AI API service → Entity extraction: calls
ai_engine/app.py - AI API service → Semantic graph: calls
ai_engine/app.py - Web crawler → MapReduce indexer: refreshes index
ai_engine/app.py - Web crawler → Language-model IR: fits corpus
ai_engine/app.py