Spaces:
Running
Running
metadata
title: Asset Choice Simulation
emoji: 📈
colorFrom: gray
colorTo: blue
sdk: docker
pinned: false
app_build_command: npm run build
app_file: Dockerfile
This Space runs a FastAPI backend and serves a Vite/React frontend built into /dist.
- Backend:
server.pyexposes/api/* - Frontend: built by Vite, mounted at
/ - Data persistence: Hugging Face Hub Dataset repo via
HF_TOKEN+STORE_REPO.
Run locally:
npm install
npm run build
uvicorn server:app --reload