Skip to content

Flipper1994/florin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Florin · Trading Portal (Showroom)

Ein modernes Trading-Portal als Showroom-Demo. React-Frontend + Python-Backend (FastAPI), vollständig containerisiert.

Schnellstart

./run.sh

Danach im Browser öffnen: http://localhost:43245

Alternativ direkt: docker compose up --build

Architektur

Browser ──▶ :43245 (nginx, Frontend)
                │  /api/* ──▶ backend:8000 (FastAPI)
                └  /      ──▶ React-SPA (statisch gebaut)
  • frontend/ — React (Vite), gebaut und via nginx ausgeliefert. nginx proxyt /api an das Backend.
  • backend/ — FastAPI. Liefert Mock-Daten (Märkte, Assets, Portfolio, News) mit simuliertem Live-Preis-Walk.
  • Nur Port 43245 ist nach außen exposed; das Backend ist nur intern erreichbar.

API-Endpunkte (Backend)

Endpoint Beschreibung
GET /api/health Health-Check
GET /api/market Index-Stände für das Ticker-Band
GET /api/assets Handelbare Werte inkl. Kursverlauf
GET /api/portfolio Positionen, Marktwert, G/V
GET /api/news Mock-News-Feed

Features im Portal

  • Live-Ticker-Band der wichtigsten Indizes (alle 3 s aktualisiert)
  • Watchlist mit Sparklines, klickbar für die Detailansicht
  • Asset-Detail mit Flächenchart und Tagesstatistik
  • Order-Ticket (Kauf/Verkauf, Mengen-Eingabe, geschätzte Summe) — gemockt
  • Portfolio-Übersicht mit Positionen und G/V
  • News-Feed
  • Live-Pause-Schalter oben rechts

Entwicklung ohne Docker

# Backend
cd backend && pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000

# Frontend (anderes Terminal)
cd frontend && npm install && npm run dev

Der Vite-Dev-Server proxyt /api automatisch an localhost:8000.

About

Florin — modernes Trading-Portal (Showroom: React + FastAPI, Docker, Port 43245)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors