How georgiebognalbal/jctgbtg-music-library works
Church Lyrics is a browser-based song and lyrics library. Users load and search the catalog, open a song, and can add, edit, or delete entries; the frontend calls a FastAPI service that reads and writes Supabase. The browser also keeps favorites and display preferences locally, and supports copying or sharing lyrics. The excerpts establish the main frontend actions and backend routes, but do not show the SQL schema or HTML/CSS behavior in detail.
Main entry points: script.js API client · index.html Library page · main.py Song catalog
Components 12
Browser application
- Library page
frontend/index.html - Library interactions
frontend/script.js - API client
frontend/script.js
Song service
- Song catalog
backend/main.py - Song detail
backend/main.py - Create song
backend/main.py - Edit song
backend/main.py - Delete song
backend/main.py
Persistence and sharing
- Supabase songs
- Browser preferences
frontend/script.js - Clipboard and share
frontend/script.js
Other components
- Library user
Connections 15
- Library user → Library page: uses
- Library page → Library interactions: hosts
- Library interactions → API client: requests
frontend/script.js - API client → Song catalog: fetches catalog
frontend/script.js - API client → Song detail: fetches song
frontend/script.js - API client → Create song: creates song
frontend/script.js - API client → Edit song: updates song
frontend/script.js - API client → Delete song: deletes song
frontend/script.js - Song catalog → Supabase songs: reads songs
backend/main.py - Song detail → Supabase songs: reads song
backend/main.py - Create song → Supabase songs: inserts song
backend/main.py - Edit song → Supabase songs: updates song
backend/main.py - Delete song → Supabase songs: deletes song
backend/main.py - Library interactions → Browser preferences: stores preferences
frontend/script.js - Library interactions → Clipboard and share: copies or shares
frontend/script.js