Skip to content

dhruvthak3r/Alemeno_Backend_Task

Repository files navigation

Loan Management System (Take-Home Assignment)

This project is a Django-based loan management system that allows:

  • Registering customers
  • Checking loan eligibility
  • Creating loans
  • Viewing loan details and repayments left

The project uses Django + PostgreSQL, and is fully containerized using Docker & Docker Compose.


🚀 Features

  • Register new customers
  • Upload customer and loan data from Excel
  • Calculate approved loan limit based on salary
  • Check loan eligibility
  • Create loan applications
  • View loan details (including EMIs left)
  • REST APIs with Django REST Framework

🛠️ Tech Stack

  • Backend: Django, Django REST Framework
  • Database: PostgreSQL
  • Containerization: Docker, Docker Compose
  • Language: Python 3.12

ENV File (Optiional, But Reccomended)

POSTGRES_DB=dhruvdb POSTGRES_USER=dhruv POSTGRES_PASSWORD=dhruv_alemeno POSTGRES_HOST=db POSTGRES_PORT=5432

Build and run with Docker Compose

docker compose up

API Endpoints

Endpoint Method Description
/register/ POST Register a new customer
/check-eligibility/ POST Check loan eligibility
/create-loan/ POST Create a new loan
/view-loan/<loan_id>/ GET View loan details
/view-loan/customer/<customer_id>/ GET View all loans for a customer

About

This is my submission to the Backend task given by Alemeno

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages