chore(dev): make legacy server explicit, add deprecation warning, and…#263
Open
coderolisa wants to merge 1 commit into
Open
chore(dev): make legacy server explicit, add deprecation warning, and…#263coderolisa wants to merge 1 commit into
coderolisa wants to merge 1 commit into
Conversation
… recommend decoupled path in README
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #242
Architecture Documentation - PR Summary
📋 Issue Summary
Problem: New contributors struggle to understand how data flows through the Open-Audit backend pipeline, from fetching raw XDR from Stellar RPC through the Translation Registry to the frontend dashboard.
Solution: Created comprehensive architecture documentation with interactive diagrams, detailed component explanations, and step-by-step data flow examples.
✅ Changes Made
New Files Created
ARCHITECTURE.md(773 lines)docs/architecture-simple.md(simplified version)Modified Files
README.md🎨 Diagrams Included
1. High-Level Architecture (Mermaid)
flowchart TB StellarNetwork --> EventIndexer EventIndexer --> TranslationEngine TranslationEngine --> WebSocketServer WebSocketServer --> FrontendDashboard2. Detailed Component Diagram
Shows all services, their interactions, and data flow with:
3. Data Transformation Example
Demonstrates how a raw XDR event becomes human-readable text:
📚 Documentation Coverage
For Backend Developers
For Frontend Developers
For New Contributors
🔍 Key Sections
1. System Overview
High-level explanation of the 5-component architecture
2. Architecture Diagram
Interactive Mermaid flowchart with color-coded services
3. Component Deep Dive
Detailed explanation of each component:
4. Data Flow
Complete event journey with examples:
5. Development Guide
Practical instructions for:
6. Performance & Scalability
🎯 Impact on Contributors
Before This PR
After This PR
📊 Documentation Metrics
🚀 Next Steps
This documentation provides the foundation for:
📝 Testing
To verify the documentation:
Diagram rendering:
Links:
Code examples:
Accuracy:
npm run dev:wsThis PR resolves the issue requesting backend architecture documentation for new contributors looking to help with optimization and indexing bugs.
Before: Contributors struggled to understand the complex backend pipeline
After: Clear diagrams and documentation make the system accessible to everyone
Branch Information
docs/add-architecture-diagrammainReady for review! 🎉