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.
- 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
- Backend: Django, Django REST Framework
- Database: PostgreSQL
- Containerization: Docker, Docker Compose
- Language: Python 3.12
POSTGRES_DB=dhruvdb POSTGRES_USER=dhruv POSTGRES_PASSWORD=dhruv_alemeno POSTGRES_HOST=db POSTGRES_PORT=5432
docker compose up
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 |