GithubHelp home page GithubHelp logo

loan-application-system's Introduction

Loan Approval System

The Loan Approval System is a scalable application designed to evaluate loan applications, calculate the risk of lending, and approve or reject applications based on predefined criteria. The system is built using FastAPI, SQLAlchemy, Kafka, and MySQL.

Features

  • Submit a new loan application
  • Retrieve the status of a submitted application
  • Update or delete an existing application
  • Evaluate risk based on various factors
  • Approve or reject loan applications based on risk assessment
  • Handle a high volume of loan applications using Kafka

Setting Up

Clone the Repository:

git clone https://github.com/atul107/loan-application-system.git
cd loan-application-system

Create and Configure Environment Variables:

Copy the .env.example to .env and update the values.

Running the Application:

Make sure Kafka and MySQL are running before starting the application.

You can run the application either directly using UVicorn or using Docker.

Running with UVicorn:

Use the following command to run the app:

uvicorn app.main:app --host 0.0.0.0 --port 8080

Running with Docker:

Build the Docker image:

docker build -t loan-application .

Run the Docker container with environment variables:

docker run -p 8080:8080 -e KAFKA_BROKER_URL=host.docker.internal:9092 -e DATABASE_URL={db_url} loan-application

Access the Application:

The application will be accessible at http://localhost:8080.

Docs can be accessed on http://localhost:8080/docs

loan-application-system's People

Contributors

atul107 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.