Skip to content

Latest commit

Β 

History

History
83 lines (69 loc) Β· 2.23 KB

File metadata and controls

83 lines (69 loc) Β· 2.23 KB

Stellar Insights - Project Structure

This document outlines the organized structure of the Stellar Insights monorepo.

πŸ“ Root Structure

stellar-insights/
β”œβ”€β”€ πŸ“± mobile/           # React Native mobile app
β”œβ”€β”€ 🌐 frontend/         # Next.js web application  
β”œβ”€β”€ βš™οΈ  backend/          # Rust API server
β”œβ”€β”€ πŸ“œ contracts/        # Soroban smart contracts
β”œβ”€β”€ πŸ“¦ sdk/              # TypeScript SDK
β”œβ”€β”€ πŸ“š docs/             # All documentation
β”œβ”€β”€ πŸ”§ scripts/          # Build and deployment scripts
β”œβ”€β”€ ☁️  k8s/              # Kubernetes configs
β”œβ”€β”€ 🐳 terraform/        # Infrastructure as code
β”œβ”€β”€ πŸ“Š elk/              # ELK stack configs
└── πŸ“‹ README.md         # Main project documentation

πŸ—οΈ Component Details

πŸ“± Mobile App (mobile/)

React Native application with:

  • TypeScript configuration
  • Navigation (Auth + Main tabs)
  • State management (Zustand)
  • Offline-first architecture
  • iOS/Android support

🌐 Frontend (frontend/)

Next.js web application with:

  • Server-side rendering
  • TypeScript support
  • Responsive design
  • PWA capabilities
  • Chart visualizations

βš™οΈ Backend (backend/)

Rust API server with:

  • Axum web framework
  • SQLx database integration
  • Job scheduling
  • Observability/metrics
  • Multi-network support

πŸ“œ Contracts (contracts/)

Soroban smart contracts for:

  • Asset verification
  • Transaction processing
  • Governance mechanisms
  • Security audits

πŸ“¦ SDK (sdk/)

TypeScript SDK providing:

  • API client
  • Type definitions
  • React Native compatibility
  • Authentication helpers

πŸ“š Documentation (docs/)

All project documentation organized by:

  • Architecture decisions
  • Development guides
  • Deployment instructions
  • Issue tracking
  • API references

πŸš€ Getting Started

  1. Prerequisites: Node.js, Rust, Docker
  2. Setup: Run setup scripts in each component
  3. Development: Use component-specific dev commands
  4. Deployment: Follow deployment guides in docs/

πŸ”— Quick Links