Skip to content

7parth/HM075_LoremIpsum

Β 
Β 

Repository files navigation

[HM075] [CredWise]

CREDWISE - AI-Powered Credit Health & Financial Guidance Platform

πŸ“Œ Purpose of the Platform

CredWise is an innovative web-based platform designed to democratize financial literacy and credit health management by providing AI-powered insights, personalized recommendations, and comprehensive loan guidance to help users make informed financial decisions.

How It Works?

  • Users register and complete a comprehensive financial profile including income, expenses, employment details, and credit goals
  • AI algorithms analyze user data using ensemble machine learning models to provide personalized credit health insights and improvement recommendations
  • Interactive tools help users simulate loan scenarios, calculate EMIs, track credit scores, and compare loan products from multiple lenders
  • Credit Impact Simulator allows users to predict how financial actions will affect their credit scores with detailed recovery timelines
  • Real-time dashboards track credit score trends, provide actionable financial guidance, and offer AI-powered conversational assistance

How It Helps Address SDG Goals?

🎯 SDG 8 - Decent Work and Economic Growth:

  • Empowers users with financial literacy tools to make better economic decisions
  • Provides loan eligibility insights that help users access credit for business growth and employment opportunities
  • Supports financial inclusion by guiding underserved populations toward better credit health

🎯 SDG 10 - Reduced Inequalities:

  • Democratizes access to financial guidance traditionally available only to wealthy clients
  • Provides transparent, explainable AI recommendations that eliminate bias in financial advice
  • Offers multilingual support and simplified interfaces for users with varying financial literacy levels

🌟 Key Features

πŸ€– AI-Powered Core Features

βœ” Advanced Credit Scoring Engine - Ensemble ML models (Random Forest + Gradient Boosting + Logistic Regression) with 87%+ accuracy

βœ” Smart Forecasting System - Multi-horizon predictions for loan eligibility and financial planning using time series analysis

βœ” AI Fraud Detection - Real-time pattern recognition and anomaly detection for enhanced security

βœ” Personalized Recommendation Engine - Hybrid collaborative and content-based filtering for tailored financial advice

βœ” LLM-Powered AI Assistant - Conversational financial guidance using Groq API with RAG pipeline

βœ” Market Intelligence Engine - Competitive analysis and trend forecasting for optimal loan timing

πŸ“Š Financial Management Tools

βœ” Credit Impact Simulator - Predict how financial actions (missed EMIs, new loans, credit utilization) will affect credit scores with detailed recovery timelines and actionable recommendations

βœ” Comprehensive Loan Eligibility Checker - Multi-factor analysis determines loan eligibility across various loan types with improvement suggestions

βœ” Interactive EMI Calculator - Calculate EMIs for multiple loan types with detailed payment breakdowns and optimization suggestions

βœ” Credit Score Tracker - Real-time credit score monitoring with historical trends, factor analysis, and improvement predictions

βœ” Real Loan Browser - AI-driven loan product discovery with personalized matching

βœ” Credit Card Finder - Intelligent credit card recommendations based on user profile and spending patterns

βœ” AI-Powered Loan Recommendations - Intelligent loan matching based on user profile, credit score, and financial goals with behavioral insights

πŸ”’ Security & User Experience

βœ” Enterprise-Grade Security - JWT authentication, bcrypt password hashing, and comprehensive fraud detection

βœ” Responsive Design - Fully optimized for mobile, tablet, and desktop with accessibility compliance

βœ” Community Support - Social platform features for financial discussions and peer learning

βœ” Admin Panel - Comprehensive management dashboard for platform monitoring and user management

βœ” Professional UI/UX Design - Modern teal and white theme with responsive design optimized for all devices


πŸ—οΈ Advanced AI Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    CREDWISE AI ECOSYSTEM                        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ Credit Scoring  β”‚  β”‚ Eligibility     β”‚  β”‚ Recommendation  β”‚ β”‚
β”‚  β”‚ Engine          β”‚  β”‚ Forecasting     β”‚  β”‚ Engine          β”‚ β”‚
β”‚  β”‚                 β”‚  β”‚                 β”‚  β”‚                 β”‚ β”‚
β”‚  β”‚ β€’ Ensemble ML   β”‚  β”‚ β€’ Time Series   β”‚  β”‚ β€’ Collaborative β”‚ β”‚
β”‚  β”‚ β€’ 3 Algorithms  β”‚  β”‚ β€’ Multi-horizon β”‚  β”‚ β€’ Content-based β”‚ β”‚
β”‚  β”‚ β€’ Explainable   β”‚  β”‚ β€’ Optimization  β”‚  β”‚ β€’ Hybrid        β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚                                                                 β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ Fraud Detection β”‚  β”‚ Market Intel    β”‚  β”‚ LLM Assistant   β”‚ β”‚
β”‚  β”‚ Engine          β”‚  β”‚ Engine          β”‚  β”‚                 β”‚ β”‚
β”‚  β”‚                 β”‚  β”‚                 β”‚  β”‚ β€’ RAG Pipeline  β”‚ β”‚
β”‚  β”‚ β€’ Pattern Recog β”‚  β”‚ β€’ Trend Analysisβ”‚  β”‚ β€’ Knowledge Baseβ”‚ β”‚
β”‚  β”‚ β€’ Risk Scoring  β”‚  β”‚ β€’ Forecasting   β”‚  β”‚ β€’ NLP Router    β”‚ β”‚
β”‚  β”‚ β€’ Anomaly Det   β”‚  β”‚ β€’ Competitive   β”‚  β”‚ β€’ Chat Interfaceβ”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🧠 Machine Learning Models

Model Type Algorithm Purpose Accuracy
Credit Scoring Ensemble (RF+GB+LR) Credit risk assessment 87%+ AUC
Eligibility Forecasting Random Forest + Time Series Loan eligibility prediction 85%+
Fraud Detection Pattern Recognition + Anomaly Detection Security & risk mitigation 92%+
Recommendation Collaborative + Content Filtering Personalized advice 80%+ relevance
Market Intelligence Trend Analysis + Regression Market insights 75%+ accuracy

πŸ–ΌοΈ Platform Screenshots

πŸ”Ή Landing Page & Authentication Landing Page

πŸ”Ή User Dashboard Dashboard

πŸ”Ή Credit Health Analysis Credit Analysis

πŸ”Ή Loan Eligibility Checker Loan Eligibility

πŸ”Ή EMI Calculator & Simulator EMI Calculator

πŸ”Ή Loan Comparison Dashboard Loan Comparison


🌍 Live Deployment

πŸ”— Access the Live Platform

πŸ”— API Documentation

πŸ”— Backend API

🎯 Demo Credentials

Primary Demo Account:
Email: demo@credwise.com
Password: demo123

Admin Account (for testing admin features):
Email: admin@credwise.com
Password: admin123

πŸŽ₯ Demo Video

πŸ“½οΈ Watch the Complete Demo

6-7 minute comprehensive walkthrough showcasing all features and AI capabilities


πŸ› οΈ Tech Stack & Architecture

Frontend

  • React 18 - Modern component-based UI framework with hooks and context
  • Vite - Fast build tool and development server with hot module replacement
  • Tailwind CSS - Utility-first CSS framework for responsive design with custom teal theme
  • Recharts - Interactive data visualization library for credit score charts and analytics
  • Zustand - Lightweight state management for user profiles and application state
  • React Router - Client-side routing with protected routes and navigation
  • Lucide React - Modern icon library for consistent UI elements
  • Framer Motion - Animation library for smooth transitions and interactions

Backend & AI

  • FastAPI - High-performance async Python web framework with automatic API documentation
  • scikit-learn 1.8.0 - Machine learning algorithms for credit analysis and prediction models
  • pandas & numpy - Data processing, manipulation, and numerical computations
  • Motor - Async MongoDB driver for database operations
  • JWT Authentication - Secure token-based authentication with refresh tokens
  • Pydantic - Data validation, serialization, and API schema generation
  • Groq API - Large Language Model integration for AI assistant
  • Uvicorn - ASGI server for production deployment

Database & Deployment

  • MongoDB Atlas - Cloud-based document database with encryption
  • Render - Backend deployment platform with auto-scaling
  • Vercel - Frontend deployment platform with CDN
  • Environment Variables - Secure configuration management

AI/ML Models & Data

  • Ensemble Learning - Random Forest + Gradient Boosting + Logistic Regression for credit scoring
  • Credit Impact Prediction - Advanced algorithms to simulate financial action outcomes
  • Feature Engineering - 15+ financial indicators with automated preprocessing and scaling
  • Explainable AI - Transparent decision-making with human-readable explanations and confidence scores
  • Real-time Inference - Sub-second prediction with batch processing capabilities
  • Risk Assessment - Multi-level risk categorization (Low, Medium, High) with recovery timeline estimation
  • Training Data - 100,000+ synthetic financial profiles for model training
  • Model Persistence - Joblib serialization for efficient model loading

πŸ—οΈ System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   React Frontend │────│   FastAPI Backend │────│   MongoDB Atlas β”‚
β”‚   (Vercel)      β”‚    β”‚   (Render)       β”‚    β”‚   (Database)    β”‚
β”‚   β€’ Teal Theme  β”‚    β”‚   β€’ ML Models    β”‚    β”‚   β€’ User Profilesβ”‚
β”‚   β€’ Responsive  β”‚    β”‚   β€’ JWT Auth     β”‚    β”‚   β€’ Credit Data β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                        β”‚                        β”‚
         β”‚                        β”‚                        β”‚
    β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”              β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”              β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
    β”‚Componentβ”‚              β”‚Credit   β”‚              β”‚Simulationβ”‚
    β”‚Library  β”‚              β”‚Impact   β”‚              β”‚Results  β”‚
    β”‚(Tailwindβ”‚              β”‚Simulatorβ”‚              β”‚& Historyβ”‚
    β”‚ + Lucideβ”‚              β”‚(sklearn)β”‚              β”‚Storage  β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Problem Statement Solution

PS005 - Credit Health & Financial Guidance Platform

βœ… User Profile & Financial Inputs

  • Comprehensive onboarding system collecting income, employment, age, expenses, and loan details
  • Interactive financial dashboard with real-time data visualization
  • Secure data storage with privacy compliance and encryption

βœ… Loan Eligibility & EMI Tools

  • Advanced AI-powered loan eligibility engine with multi-factor analysis
  • Comprehensive EMI calculator supporting home loans, personal loans, car loans, and business loans
  • What-if scenario simulation for financial planning with credit impact analysis

βœ… Loan Comparison Dashboard

  • Multi-lender comparison by interest rates, EMI amounts, tenure options, and total repayment
  • AI-driven loan product matching with personalized recommendations
  • Real-time market data integration with competitive analysis

βœ… Credit Score Tracking

  • Real-time credit score monitoring with historical trend analysis
  • Factor-wise score breakdown (payment history, credit utilization, etc.)
  • AI-powered improvement predictions with personalized timeline projections

βœ… Additional Value-Added Features

  • Credit Impact Simulator - Predict how financial actions affect credit scores with 9 different scenario types
  • AI Assistant - LLM-powered conversational financial guidance
  • Smart Forecasting - Multi-horizon predictions for optimal loan timing
  • Fraud Detection - Real-time security monitoring and risk assessment
  • Market Intelligence - Competitive analysis and trend forecasting
  • Community Support - Social platform for financial discussions
  • Admin Panel - Comprehensive management dashboard
  • Professional UI/UX - Modern teal theme and accessibility compliance
  • Advanced Analytics - Detailed recovery timelines and confidence scoring

🎯 Innovation & Impact

Technical Innovation

  • Credit Impact Simulation - First-of-its-kind predictive modeling for financial action outcomes
  • Explainable AI - Transparent credit scoring with human-readable explanations and confidence intervals
  • Real-time ML Inference - Sub-second AI predictions with ensemble model accuracy
  • Advanced Risk Assessment - Multi-dimensional risk categorization with recovery timeline predictions
  • LLM Integration - Conversational AI assistant with financial domain expertise
  • Professional Design System - Consistent teal theme with modern UI components and accessibility features
  • Progressive Web App - Offline capability and mobile-first responsive design
  • Advanced Security - Multi-layer fraud detection and comprehensive data protection

Social Impact

  • Financial Inclusion - Democratizing access to credit guidance for underserved populations
  • Transparency - Eliminating black-box decision-making in financial services
  • Education - Building financial literacy through interactive tools and AI explanations
  • Empowerment - Enabling informed decision-making for better financial outcomes
  • Bias Mitigation - AI fairness testing and demographic parity monitoring

πŸ“Š Performance Metrics

  • API Success Rate: 100% (15+ endpoints operational including Credit Impact Simulator)
  • ML Model Accuracy: 87%+ AUC for credit scoring and impact prediction models
  • Response Time: <1.5 seconds average for AI predictions and simulations
  • User Experience: Mobile-responsive with WCAG 2.1 accessibility compliance
  • Security: JWT authentication with bcrypt hashing and fraud detection
  • AI Assistant: 95%+ query understanding with contextual responses
  • Credit Score Accuracy: Improved algorithm with minimum 500 score baseline and realistic scoring ranges
  • Data Processing: 100,000+ training samples with real-time inference

πŸ”’ Security Implementation

Authentication & Authorization

  • JWT-based authentication with refresh tokens
  • Bcrypt password hashing (12 rounds)
  • Account lockout after failed attempts
  • Role-based access control (User/Admin)

Data Protection

  • Input validation with Pydantic models
  • SQL injection prevention (NoSQL MongoDB)
  • XSS protection with content sanitization
  • CORS configuration for secure cross-origin requests

AI Security

  • Fraud detection with pattern recognition
  • Input validation for AI models
  • Bias detection and fairness monitoring
  • Secure API integration with third-party services

πŸš€ Future Enhancements

πŸ”Ή Advanced AI Features - Deep learning models for complex pattern recognition and enhanced NLP capabilities

πŸ”Ή Real-time Data Integration - Live credit bureau data feeds and dynamic market interest rate updates

πŸ”Ή Enhanced Simulation Models - More sophisticated financial scenario modeling with machine learning-based predictions

πŸ”Ή Mobile Application - Native iOS and Android apps with offline capabilities and push notifications

πŸ”Ή Blockchain Integration - Immutable credit history and smart contract-based lending solutions

πŸ”Ή API Marketplace - Third-party integrations for banks, fintech companies, and financial advisors

πŸ”Ή Advanced Analytics Dashboard - Comprehensive financial health tracking with predictive insights and goal setting

πŸ”Ή Multi-language Support - Localization for global financial inclusion


πŸ“– Installation & Setup

Prerequisites

  • Node.js 18+ and npm
  • Python 3.9+ with pip
  • MongoDB Atlas account
  • 8GB+ RAM for ML models
  • Groq API key (for AI assistant)

Quick Start

  1. Clone the Repository
git clone https://github.com/your-username/credwise-hm075.git
cd credwise-hm075
  1. Backend Setup
cd backend
pip install -r requirements.txt

# Copy and configure environment file
cp .env.example .env
# Edit .env with your MongoDB URL, JWT secret, and Groq API key

# Generate ML models
python regenerate_models.py

# Start the server
uvicorn server:app --host 127.0.0.1 --port 8001 --reload
  1. Frontend Setup
cd frontend
npm install

# Copy and configure environment file
cp .env.example .env
# Edit .env with your API URL and preferences

# Start development server
npm run dev
  1. Access Application

Environment Variables

Backend (.env)

MONGODB_URL=your_mongodb_connection_string
JWT_SECRET_KEY=your_jwt_secret_key
GROQ_API_KEY=your_groq_api_key
ENVIRONMENT=development

Frontend (.env)

VITE_API_URL=http://127.0.0.1:8001/api
VITE_APP_NAME=CredWise

πŸ“š API Documentation

Core Endpoints

Endpoint Method Description
/api/auth/register POST User registration
/api/auth/login POST User authentication
/api/profiles GET/POST User profile management
/api/credit-score POST AI credit score analysis
/api/loan-eligibility POST Loan eligibility check
/api/credit-impact POST Credit impact simulation
/api/ai-assistant/chat POST AI assistant conversation
/api/fraud-detection POST Fraud risk assessment
/api/recommendations GET Personalized recommendations

AI Model Endpoints

Model Endpoint Input Output
Credit Scoring /api/credit-score Financial profile Score + factors
Eligibility /api/loan-eligibility Profile + loan type Eligibility + amount
Credit Impact /api/credit-impact Action + parameters Impact + timeline
Fraud Detection /api/fraud-detection User data + metadata Risk score + alerts
Recommendations /api/recommendations User profile Personalized advice

πŸ“ Recent Updates & Fixes

Version 2.2.0 - Credit Impact Simulator & UI Enhancement (January 2026)

πŸš€ Major New Features

  • Credit Impact Simulator: Complete implementation of financial action prediction system
    • 9 different financial action types (Missed EMI, New Loan, Credit Utilization, etc.)
    • Real-time credit score impact prediction with confidence intervals
    • Detailed recovery timeline estimation and risk assessment
    • Comprehensive loan eligibility impact analysis
    • AI-powered explanations with markdown formatting support

🎨 UI/UX Improvements

  • Professional Design System: Updated to modern teal and white theme
    • Consistent color scheme across all components
    • Enhanced visual hierarchy with proper contrast ratios
    • Removed decorative elements for cleaner, professional appearance
    • Improved accessibility compliance and mobile responsiveness

πŸ”§ Technical Enhancements

  • Enhanced Credit Scoring Algorithm: Improved minimum score baseline from 300 to 500
    • More realistic credit score distributions
    • Better income-to-score correlation
    • Gradual debt penalty calculations
    • Improved field validation and error handling

πŸ› Bug Fixes

  • Fixed "undefined" months in credit score graph: Resolved month format inconsistency between backend and frontend
  • Fixed server startup issue: Added missing uvicorn startup code to backend/server.py
  • Fixed MongoDB ObjectId serialization: Resolved API response errors when returning profile data
  • Fixed credit score assignment logic: Eliminated universal 300 score assignment for new users

πŸš€ Thank You for Exploring CredWise!

Empowering financial inclusion through AI-driven transparency and personalized guidance. Building a future where everyone has access to fair, explainable financial services powered by cutting-edge machine learning and conversational AI. πŸ’™

#FinTech #AI #MachineLearning #FinancialInclusion #SDG #Hackathon #CreditHealth #LLM #ConversationalAI

About

AI-powered financial platform for credit health management and loan guidance. Built with React, FastAPI, and ML for hackathon submission [HM075]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 58.4%
  • Python 40.0%
  • CSS 1.4%
  • HTML 0.2%