How priyanshukumar016/melody-party works
Melody Party is a browser-based shared music-room app. A host opens a room, guests join using its code, and the server maintains room membership, a voted song queue, current playback, and played-song history. The host advances playback; room updates are sent to connected clients. The sampled client shows room creation/joining and host playback controls, while queue addition and voting are implemented on the server but their client-side entry points are not shown. The README is empty, so this map is based on the sampled source and file tree.
Main entry points: server.js Socket server · index.html Landing page · main.js Entry navigation · room.js Room client
Components 7
Room entry
- Landing page
index.html - Entry navigation
main.js
Room client
- Room page
room.html - Room client
room.js
Room runtime
- Socket server
server.js - Room state
server.js
Other components
- Participant
Connections 7
- Participant → Landing page: opens
- Landing page → Entry navigation: handles clicks
main.js - Entry navigation → Room page: navigates to
main.js - Participant → Room page: opens room
- Room client → Socket server: emits room events
room.js - Socket server → Room client: sends room updates
server.js - Socket server → Room state: updates
server.js