How narenkram/steadfast-monorepo works
High-Level Architecture Overview
a. Frontend (steadfast-app)
b. Backend API (steadfast-api)
c. WebSocket Services (steadfast-websocket)
A. Client Layer:
• Two themes (Light/Dark mode) indication
• Main UI components mentioned in screenshots (Settings, LTP Range Bar, Trading Keys, Broker Management)
B. Server Layer:
• Steadfast-api in the middle
• RESTful API endpoints
• Broker integration interfaces
C. Real-time Layer:
• Steadfast-websocket at the bottom
• Two separate WebSocket servers:
• Flattrade WebSocket (Port 8765)
• Shoonya WebSocket (Port 8766)
Connection and Data Flow
• Frontend to Backend API communication (HTTP/HTTPS)
• Frontend to WebSocket connections (WS/WSS)
• Backend API to Broker services
• WebSocket services to market data providers
Additional Elements
Include:
• Port numbers (5173, 3000, 8765, 8766)
• Technology stack indicators (Node.js, Python)
• Security layer representations
• Data persistence layers (if any)
Notes Section
A notes section indicating:
• System requirements
• Critical dependencies
• Security warnings
• Version differences
Broker integration points
Remember to indicate that this is the open-source version and may have differences from the premium version available at steadfastapp.in.