How rajgupta0510/ravora works
Ravora is an AI-assisted wealth and trading terminal: users authenticate, configure objectives and risk, then review market analysis, portfolio insights, and opportunities before paper or connected-exchange execution. The graph combines the documented dashboard journey with sampled backend services and the indexed decision-engine modules. The README documents several product capabilities whose implementation was not sampled; those are represented at directory level. Unsampled details and runtime wiring are not assumed beyond documented relationships.
Main entry points: dashboard Dashboard workspaces · MarketDataService.js Market data service · App.tsx Application shell · ExecutionService.js Order execution
Components 25
User experience
- Application shell
src/App.tsx - Risk onboarding
src/components/dashboard/OnboardingWizard.tsx - Dashboard workspaces
src/components/dashboard - Trading terminal
app/chart - Copilot chat
src/components/dashboard/CopilotChat.tsx
Market intelligence
- Market data service
backend/services/MarketDataService.js - Market providers
backend/market - Opportunity discovery
backend/services/OpportunityDiscoveryService.js - Opportunity scoring
src/services/opportunity/opportunityEngine.js - Recommendations
src/services/recommendations/recommendationEngine.js - News services
backend/news
Portfolio and execution
- Portfolio workspace
backend/controllers/PortfolioController.js - Portfolio intelligence
backend/services/PortfolioIntelligenceService.js - Paper trading
backend/services/PaperTradingService.js - Order execution
backend/execution/services/ExecutionService.js - Risk controls
backend/execution/risk/RiskManager.js - Exchange integrations
backend/exchange
Araiven AI
- AI controller
backend/ai/controllers/AiController.js - Agent orchestration
backend/ai/services/AgentOrchestrator.js - Strategy backtesting
backend/ai/reasoning/BacktestEngine.js
Backend platform
- Authentication
src/controllers/authController.js - API application
backend/index.js - Supabase data client
backend/config/database.js - Notifications
backend/services/NotificationService.js
Other components
- Investor
Connections 25
- Investor → Application shell: opens
- Application shell → Authentication: authenticates through
src/App.tsx - Application shell → Dashboard workspaces: renders
src/App.tsx - Dashboard workspaces → Risk onboarding: configures profile
- Dashboard workspaces → Trading terminal: opens terminal
- Dashboard workspaces → Portfolio workspace: views portfolio
- Dashboard workspaces → Opportunity discovery: reviews opportunities
- Dashboard workspaces → Copilot chat: opens copilot
- Copilot chat → AI controller: sends analysis request
- AI controller → Agent orchestration: orchestrates
backend/ai/controllers/AiController.js - Agent orchestration → Strategy backtesting: runs strategy analysis
- API application → Supabase data client: initializes
backend/index.js - API application → Market data service: registers API routes
- Market data service → Market providers: fetches market history
backend/services/MarketDataService.js - Opportunity discovery → Market data service: uses market data
backend/controllers/OpportunityController.js - Recommendations → Opportunity scoring: ranks opportunities
src/services/recommendations/recommendationEngine.js - Portfolio workspace → Portfolio intelligence: requests insights
backend/controllers/PortfolioController.js - Dashboard workspaces → Paper trading: deploys sandbox trades
- Dashboard workspaces → Order execution: submits orders
- Order execution → Risk controls: checks order risk
backend/execution/services/ExecutionService.js - Order execution → Exchange integrations: routes execution
- Risk controls → Market data service: checks current price
backend/execution/risk/RiskManager.js - Risk controls → Supabase data client: reads risk and portfolio state
backend/execution/risk/RiskManager.js - Dashboard workspaces → News services: reviews market context
- Dashboard workspaces → Notifications: configures alerts