- Implemented Citations component to display citation data. - Created WatchlistDrawer and ChatSidebar components for managing watchlists and AI chat functionality. - Integrated API calls for watchlist management and chat interactions. - Updated index.tsx to include new components in the main application layout. - Added API client in lib/api.ts for structured API interactions. - Developed Alerts, Dashboard, Portfolio, Routines, Screener, and Report pages with relevant data fetching and UI components. - Introduced styles in tokens.css for consistent theming across the application. - Configured TypeScript and Vite for project setup and development.
24 lines
778 B
Bash
24 lines
778 B
Bash
# Copy to .env (never commit .env). Key only from SECTORS_API_KEY env.
|
|
# Preferred prod path: keep ALL secrets below in Bitwarden Secrets Manager
|
|
# (secret names = env names, e.g. SECTORS_API_KEY, LLM_API_KEY, REDIS_URL)
|
|
# and launch with injected env:
|
|
# BWS_PROJECT_ID=<id> sh scripts/bws-run.sh go run ./cmd/server
|
|
# Requires BWS_ACCESS_TOKEN exported (or `bws config` profile). Values set
|
|
# here are fallback when bws is not used.
|
|
BWS_PROJECT_ID=
|
|
SECTORS_API_KEY=
|
|
SECTORS_BASE_URL=https://api.sectors.app/v2/
|
|
DB_PATH=data/flowsight.db
|
|
REDIS_URL=
|
|
DEMO_USER_KEY=demo
|
|
WATCHLIST=BBCA,BBRI,BMRI,TLKM,ASII
|
|
PORT=8080
|
|
CREDIT_CAP_PER_CYCLE=120
|
|
LLM_BASE_URL=
|
|
LLM_API_KEY=
|
|
LLM_MODEL_TRIAGE=gpt-4o-mini
|
|
LLM_MODEL_SYNTH=gpt-4o
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|
|
DISCORD_WEBHOOK_URL=
|