How dan-garden/lyrics works
Main System Components
a) Client-Side Layer:
• Public Web Interface (Vue.js based)
• Documentation Interface
b) Server Layer:
• Express.js API Server
• Lyrics Providers System
c) External Services:
• Multiple Lyrics Sources (AZLyrics, Genius, LyricsMode, SongLyrics)
Component Relationships
• Client → Server: HTTP requests for lyrics
• Server → Provider Manager: Internal routing
• Provider Manager → Individual Providers: Delegation
• Providers → External Services: Web scraping
• Server → Documentation: API documentation serving
Technical Details
Labels indicating:
• Node.js runtime environment
• Vue.js for frontend
• Express.js for backend
• Web scraping functionality
• RESTful API endpoints
Important Notes
Specific architectural aspects:
• Modular provider system
• Separation between the API and web interface
• Documentation system integration
• Error handling and fallback between different providers