csivitu / LendLogic

LendLogic - the crystal ball for loans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

LendLogic

the crystal ball for loans 🔮

Installation

To get started, follow these steps to set up your environment and install project dependencies:

# Clone the repository
git clone https://github.com/csivitu/LendLogic.git

# Navigate to the project directory
cd LendLogic

# Create a virtual environment (recommended)
python -m venv venv

# Activate the virtual environment
# On Windows:
venv\Scripts\activate
# On macOS and Linux:
source venv/bin/activate

# Install project dependencies from requirements.txt
pip install -r requirements.txt

Running Jupyter Notebook

To run Jupyter Notebook, use the following command:

jupyter notebook

This will start the Jupyter Notebook server, and you can access it in your web browser by following the provided URL.

Running the Flask App

To run the Flask app, execute the following command:

python main.py

This will start the Flask development server, and your app will be accessible at http://localhost:5000 in your web browser.

Running a FastAPI Server and sending a Request to FastAPI

To run the FastAPI server, use the following command:

# Incase you are not in the FastAPI folder
cd FastAPI

# Run the Uvicorn server
uvicorn app:app --reload

This will start the FastAPI server, and your API will be accessible at http://localhost:8000 in your web browser.

To send a request to the FastAPI server, you can use tools like curl or API client libraries like requests. Alternatively, you can use Postman, which is an application to test APIs utilizing a GUI.

About

LendLogic - the crystal ball for loans


Languages

Language:Jupyter Notebook 77.6%Language:HTML 8.9%Language:Python 8.6%Language:CSS 4.9%