This backend project utilizes Django REST Framework to implement role-based authentication for managers and customers. Customers can perform operations such as deposits, withdrawals, balance transfers, and loan requests, while managers can oversee transactions and approve loan applications efficiently.
-
- Managers and Customers have distinct roles, with access to functionalities tailored to each user type.
-
- Deposits: Make and manage deposits to their account.
- Withdrawals: Withdraw funds from their account.
- Balance Transfer: Transfer funds to other accounts.
- Loan Requests: Apply for loans with flexible terms.
-
- Transaction Oversight: Monitor and manage all transactions within the system.
- Loan Management: Review, approve, or reject loan applications submitted by customers.
- Admin Users:
- List/Create Admin Users:
POST /api/manager/
- Admin User Details:
GET /api/manager/<int:pk>/
- List/Create Admin Users:
- Customers:
- List/Create Customers:
POST /api/customer/
- Customer Details:
GET /api/customer/<int:pk>/
- List/Create Customers:
- Register:
POST /api/register/
- Login:
POST /api/login/
- Profile Update:
PUT /api/update-profile/
- Password Update:
PUT /api/update-password/
- Logout:
POST /api/logout/
- Balance Transfer:
POST /api/balance-transfer/
- Loans:
- List/Create Loans:
POST /api/loans/
- Loan Details:
GET /api/loans/<int:pk>/
- Approve Loan:
POST /api/loans/<int:pk>/approve/
- Reject Loan:
POST /api/loans/<int:pk>/reject/
- Repay Loan:
POST /api/loans/<int:pk>/repay/
- List/Create Loans:
- Deposits:
POST /api/deposit/
- Withdrawals:
POST /api/withdrawal/
- Service List/Create:
POST /api/services/
- Contact Us:
POST /api/contact/
Base URL: https://bank-management-backend.onrender.com/
To set up the backend on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/sajib925/bank-management-backend.git cd bank-management-backend