Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

the backend API for humblFINANCE web app || built with FastAPI

License

Notifications You must be signed in to change notification settings

humblFINANCE/humblFINANCE-backend

Repository files navigation

🏦 humblFINANCE Backend

📋 Description

humblFINANCE Backend is a FastAPI-based backend service for the humblFINANCE web app. It provides the necessary API endpoints and data processing capabilities to support the financial operations of the humblFINANCE platform.

🛠️ Tech Stack

  • 🐍 Python 3.11
  • 🚀 FastAPI
  • 🗃️ SQLModel (ORM)
  • 🔄 Alembic (Database migrations)
  • 📊 humbldata (Custom data library)
  • 🏗️ Poetry (Dependency management)
  • 🐳 Docker (Containerization)

🌟 Features

  • RESTful API endpoints for financial data
  • Database integration with SQLModel
  • Asynchronous operations support
  • Configurable settings for different environments

🚀 Getting Started

  1. Clone the repository
    git clone https://github.com/humblfinance/humblfinance-backend.git
    
  2. Install dependencies:
    poetry install
    
  3. Set up your environment variables
    cp .env.example .env
    
  4. Build and run the Docker container:
    docker build -t humblfinance-api .
    docker run -p 8080:8080 humblfinance-api
    
  5. Alternatively, run the application directly:
    uvicorn backend.main:app --host 0.0.0.0 --port 8080
    
    ## OR ##
    
    fastapi run backend/main.py --host 0.0.0.0 --port 8080
    

🐳 Docker Support

The application can be containerized using Docker. Build and run the Docker image using the provided Dockerfile.

🧪 Development

  • Linting: Ruff
  • Type checking: MyPy
  • Documentation: MkDocs

📚 Documentation

For more detailed information, refer to the MkDocs-generated documentation.

👥 Contributors

📄 License

Attribution-NonCommercial-ShareAlike 4.0 International

About

the backend API for humblFINANCE web app || built with FastAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published