zephyrdark 752db2ef1a
All checks were successful
Deploy to Production / deploy (push) Successful in 1m33s
fix: serialize Decimal as float in API responses and fix transaction field names
Pydantic v2's model_dump(mode="json") serializes Decimal as strings (e.g.,
"33.33" instead of 33.33), causing frontend crashes when calling .toFixed()
on string values. Introduced FloatDecimal type alias with PlainSerializer
to ensure Decimal fields are serialized as floats in JSON responses.

Also fixed frontend Transaction interface to match backend field names
(created_at → executed_at, transaction_type → tx_type).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 23:47:48 +09:00
2026-02-03 12:27:34 +09:00

Galaxis-Po

Integrated Quant Portfolio Management Application

Tech Stack

  • Backend: FastAPI, Python 3.12, SQLAlchemy, PostgreSQL
  • Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS
  • Infrastructure: Docker, Docker Compose, uv

Development

Prerequisites

  • Docker & Docker Compose
  • Python 3.12
  • Node.js 24
  • uv (Python package manager)

Quick Start

# Start all services
docker-compose up -d

# Backend only (development)
cd backend
uv sync
uv run uvicorn app.main:app --reload

# Frontend only (development)
cd frontend
npm install
npm run dev

Project Structure

galaxis-po/
├── backend/           # FastAPI backend
├── frontend/          # Next.js frontend
├── docker-compose.yml
└── docs/plans/        # Implementation plans
Description
No description provided
Readme 1.4 MiB
Languages
Python 50.6%
TypeScript 48.7%
CSS 0.3%
Dockerfile 0.3%