Stock & Wealth Toolkit for Everyday Retail — FastAPI + React (Vite) app for equity research and wealth planning.
- Backend: Python 3.11–3.14 (3.14 needs recent
pydanticwheels; if install fails, use 3.12). - Frontend: Node.js 18+ and npm (for
npm install,npm run dev,npm test).
From the repo root:
start-commoncents.batOr double-click start-commoncents.bat. This opens the API (port 8080) and the Vite dev server (port 5173).
Legacy: start-steter.bat forwards to start-commoncents.bat.
cd backend
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .env
# optional: set ANTHROPIC_API_KEY, FRED_API_KEYUse run-server.bat or run-server.ps1 (defaults to port 8080, override with env var COMMONCENTS_PORT).
- API docs: http://127.0.0.1:8080/docs
cd backend
.\venv\Scripts\activate
pytestcd frontend
npm install
npm run dev- App: http://localhost:5173 (proxies
/apito 8080 by default)
Override the API proxy target when running Vite:
COMMONCENTS_API_URL=http://127.0.0.1:8080
cd frontend
npm test- Equity: ticker search, research card (EDGAR + yfinance + FRED), compare (2–3 tickers), SQLite research cache, deterministic signals, template or optional Anthropic summary (
ANTHROPIC_MODELin.env). - Wealth: questionnaire, profile scoring, allocations, goals, net worth snapshots, portfolio build with simulated projections.
- No authentication:
user_idis a UUID inlocalStorage(commoncents_user_id).
The PRD quiz score bands may differ from the Project Directory; this build follows the Project Directory thresholds.