Back to projects Introduction
When you’re hosting a party, oftentimes people have music suggestions, both before and during partying. Vie lets you create a collaborative playlist, using Spotify, that allows other people to add and vote for their favourite tracks. Your guests can have a say in what is being played, though the host is always in control.
This project was done to familiarize myself with the Node.js platform. Vie runs as a Node.js Spotify app (note: the Spotify Apps API has since been discontinued), as well as through a web portal. The host starts by creating a new Party in the Spotify app. A random 5 digit Party ID will be generated for the host to display at his/her party. Party-goers can then enter the Party ID on the web portal to login and start adding tracks.
Figure 1. Web landing page. Users may get access to the dashboard through their unique party id.
The Spotify app is meant to function as the party hosts’ access panel. Beside creating a new party, a party host is able to login with his/her previously generated party id. An overview of the current playlist, as well as number of votes per track, and tools for deleting, reordering can be found here.
The web portal allows other people to search for tracks using the Spotify Web API without requiring a Spotify account. An overview of the current playlist is shown, as well as options to add tracks to the playlist as well as vote for their favourite tracks. Users may only vote once per track, and tracks are ordered according to number of votes. Of course, the party host is free to override or disable this feature.
Party playlists are automatically removed from the system after a period of nonuse, unless the host opts to store the playlist for future use. Tracks may also be stored to a seperate playlist to store for another time.
Figure 2. On the dashboard page users are able to search for music in the entire Spotify library through the web API, and add them to the queue; vote for their favourite tracks; or remove tracks from the list.