We designed the catalog model before the player. Artists, albums, and songs are stored as documents in MongoDB, which suits a library where artwork, track lists, and artist details differ from one release to the next. A FastAPI service exposes that catalog to the app.
For playback, we chose HLS streaming. Songs are delivered in short segments, so music starts before the whole file arrives, in a format built to cope with changing network conditions. The Flutter app wraps all of this in a dark, artwork-led interface designed for browsing.
- Library firstThe artist and album structure was defined before any player screen was drawn.
- Segmented streamingHLS delivery so a tap on a song turns into sound quickly over mobile networks.
- Offline as a core pathSaved songs play from the device itself, treated as a main use case rather than an add-on.
- Several routes into the musicLatest, Popular, and Random views sit alongside the listener's own library.