This project is a full-stack system designed to evaluate and verify user activities for creditworthiness using:
- 🧠 AI-based document verification (Gemini Vision)
- 🔗 Blockchain for tamper-proof records
- 🗄 MongoDB Atlas for data storage
- 🌐 React frontend + FastAPI backend
The system has 3 roles:
- 👤 User → Uploads activities & documents
- 🕵️ Verifier → Validates authenticity (AI + manual)
- 💰 Lender → Uses verified data for decision-making
- FastAPI
- MongoDB Atlas
- Gemini API (Vision)
- Web3 / Hardhat (Blockchain)
- React + TypeScript + Vite
- Solidity
- Hardhat (local node)
-
User uploads activity + documents
-
Files stored locally (
/uploads) -
Activity stored in MongoDB
-
Verifier:
- Fetches pending activities
- AI checks document authenticity
- Approves / rejects
-
Hash stored on blockchain for integrity
git clone https://github.com/NEXUS-2026/nexus_tech_titans.git
cd nexus_tech_titanscd backend
python -m venv venvWindows (Git Bash):
source venv/Scripts/activateWindows (CMD):
venv\Scripts\activatepip install -r requirements.txtCreate .env inside backend/:
MONGO_URL=your_mongodb_atlas_connection_string
GEMINI_API_KEY=your_gemini_api_key.env to GitHub
uvicorn main:app --reload👉 Runs on: http://127.0.0.1:8000
Swagger Docs: http://127.0.0.1:8000/docs
Open new terminal:
cd Documents/nexus/blockchain
npm installnpx hardhat nodenpx hardhat run scripts/deployLoanManager.js --network localhost👉 Copy deployed contract address into .env if required
cd frontend
npm install
npm run dev👉 Runs on: http://localhost:5173
backend/
routes/
services/
models/
uploads/ # local file storage
main.py
frontend/
src/
Documents/nexus/blockchain/
contracts/
scripts/
- ✅ Multi-role system (User / Verifier / Lender)
- ✅ AI-based document validation (Gemini Vision)
- ✅ Fraud detection logic based on activity patterns
- ✅ Blockchain-based verification storage (tamper-proof)
- ✅ File upload with multi-document support
- ✅ MongoDB Atlas integration
- ✅ Psychometric-based baseline scoring using structured user questionnaires
- ✅ Dynamic trust score updated based on verification outcomes and behavioral inputs
- Files are currently stored locally (
/uploads) - MongoDB stores only file paths, not files
- For production → migrate to cloud storage (S3 / Firebase)
- Local file storage (not scalable)
- Basic AI validation (not fine-tuned)
- Hardhat runs on local network only
- Backend, AI, Blockchain, Frontend team (Nexus Tech Titans)
- Cloud storage integration (Firebase/S3)
- Advanced AI fraud detection
- Deployment (Docker + Cloud)
- Real blockchain network integration
This project demonstrates:
- Full-stack integration
- AI + Blockchain synergy
- Real-world fintech problem solving