Skip to content

be-a-guptaji/Alemeno-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ณ Credit Approval System

License Status Django PostgreSQL Docker


๐Ÿ“– About The Project

The Credit Approval System is a Dockerized Django REST API designed to evaluate customer loan eligibility using a rule-based credit scoring mechanism.

It calculates credit scores based on:

  • Loan repayment history
  • Current debt exposure
  • Number of active loans
  • Income levels
  • Interest rate corrections

The system determines loan approval status and corrected interest rates while ensuring financial constraints such as the 50% income exposure rule.


โœจ Key Features

  • ๐Ÿงฎ Credit Score Calculation Engine
  • ๐Ÿ“Š EMI Calculation Logic
  • ๐Ÿ“‰ Interest Rate Correction Slabs
  • ๐Ÿ‘ค Customer Registration
  • ๐Ÿฆ Loan Creation & Management
  • ๐Ÿ“„ View Customer Loans
  • ๐Ÿ“‚ Bulk Data Ingestion from Excel
  • ๐Ÿณ Fully Dockerized Setup
  • ๐Ÿ—„ PostgreSQL Database
  • ๐Ÿ”„ Automatic Migrations on Startup

๐Ÿ—๏ธ Architecture

  • Backend: Django 6 + Django REST Framework
  • Database: PostgreSQL
  • Containerization: Docker & Docker Compose
  • Excel Handling: OpenPyXL
  • API Communication: RESTful JSON APIs
graph TD
    Client --> API[Django REST API]
    API --> DB[(PostgreSQL)]
    API --> Engine[Credit Scoring Engine]
    Docker --> API
    Docker --> DB
Loading

๐Ÿ“ Project Structure

credit-approval-system/
โ”œโ”€โ”€ docker-compose.yml
โ”œโ”€โ”€ Dockerfile
โ”œโ”€โ”€ manage.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ core/
โ”œโ”€โ”€ customers/
โ”œโ”€โ”€ loans/
โ””โ”€โ”€ scripts/

โš™๏ธ Getting Started

Prerequisites

  • Docker
  • Docker Compose

๐Ÿณ Run with Docker

docker-compose up --build

The API will be available at:

http://localhost:8000

๐Ÿ“Œ API Endpoints

  • POST /register โ†’ Register new customer
  • POST /check-eligibility โ†’ Check loan eligibility
  • POST /create-loan โ†’ Create a loan
  • GET /view-loan/<loan_id> โ†’ View loan details
  • GET /view-loans/<customer_id> โ†’ View all loans for a customer

๐Ÿ›ฃ๏ธ Roadmap

  • Credit Scoring Engine
  • EMI Calculation
  • Interest Slab Correction
  • Docker Integration
  • Authentication & JWT
  • Admin Dashboard
  • Production Deployment

๐Ÿ“œ License

MIT License ยฉ 2025 Aryan Baadlas


๐Ÿ“ฌ Contact

Aryan Baadlas
Email: aryanbaadlas@gmail.com
GitHub: https://github.com/be-a-guptaji


If you like this project, give it a star โญ on GitHub!

About

Credit Approval System ๐Ÿ’ณ is a Dockerized ๐Ÿณ Django REST API built to evaluate customer loan eligibility using a rule-based ๐Ÿ“Š credit scoring algorithm. The system calculates credit scores based on loan history ๐Ÿ“, repayment behavior โœ…, debt exposure ๐Ÿ“‰, and income levels ๐Ÿ’ฐ to determine loan approval ๐Ÿฆ and corrected interest rates ๐Ÿ“ˆ.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors