- 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.
11 lines
647 B
Bash
Executable File
11 lines
647 B
Bash
Executable File
#!/bin/sh
|
|
# FlowSight offline demo: briefing -> radar alert -> report -> interrogation.
|
|
set -e
|
|
BASE="${BASE:-http://localhost:8080}"
|
|
echo "== health =="; curl -s "$BASE/api/health" | head -c 300; echo
|
|
echo "== briefing =="; curl -s "$BASE/api/briefing/today" | head -c 300; echo
|
|
echo "== radar =="; curl -s -X POST "$BASE/api/screen" -d '{"limit":3}' | head -c 300; echo
|
|
echo "== report =="; curl -s -X POST "$BASE/api/report/BBCA?profile=moderate" | head -c 300; echo
|
|
echo "== interrogation =="; curl -s -X POST "$BASE/api/report/BBCA/ask" -d '{"question":"kenapa conviction segitu?"}' | head -c 300; echo
|
|
echo DEMO_OK
|