CoolFace
Apppublic

zobi345/ai-wealth-companion-api

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes
App README

AI Wealth Companion - Backend API

FastAPI backend for the AI Wealth Companion financial management platform.

Features

  • —AI Chatbot API - Natural language financial assistant
  • —Transaction Management - Track income and expenses
  • —Budget Tracking - Create and monitor spending limits
  • —Investment Simulation - Project investment returns
  • —Task Management - Financial reminders and todos
  • —Multi-language - English and Urdu support

API Endpoints

EndpointMethodDescription
/api/v1/ai/chatPOSTChat with AI assistant
/api/v1/transactionsGET/POSTManage transactions
/api/v1/budgetsGET/POSTManage budgets
/api/v1/tasksGET/POSTManage tasks
/api/v1/ai/insightsGETGet AI insights
/api/v1/ai/health-scoreGETFinancial health score
/healthGETHealth check

Environment Variables

Set these in your Space secrets:

  • —DATABASE_URL - PostgreSQL connection string
  • —JWT_SECRET_KEY - JWT signing key
  • —GEMINI_API_KEY - Google Gemini API key
  • —CORS_ORIGINS - Allowed frontend URLs

Tech Stack

  • —FastAPI
  • —SQLAlchemy (async)
  • —Neon PostgreSQL
  • —Google Gemini AI
  • —Pydantic v2

Links