server.js Initializes express.js Initializes socket.io Sets up API routes media-player.js Stores the playlist Determines media types within playlist Runs a timer to update clients with the current playback time of the video