How vnt87/textpod-toc works
Main Components Identification
The system consists of these primary components:
a) Frontend Layer:
• Static assets (in /public and /src/css, /src/js)
• HTML entry point (src/index.html)
• Progressive Web App components (manifest.json, service-worker.js)
b) Backend Layer:
• Rust-based server (src/main.rs)
• Local storage system
[Client Browser] → [Progressive Web App Layer] → [Rust Backend Server] → [Local Storage]
Client-Server Communication
• Browser ←→ Rust Server (Port 3000)
Data Persistence Flow
• Rust Server ←→ Local Storage
PWA Features
• Service Worker ←→ Browser Cache
• Docker Container (Primary deployment)
• Local Development
• Vercel Deployment
Additional Elements
• Component type indicators
• Version/environment indicators
Remember to include both development and production deployment paths, as the application supports multiple deployment options (Docker, local build, and Vercel).