A real-time, votable, democratized music queue on iPad and iPhone using Spotify
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Microservices Initial Commit Apr 17, 2018
QueuedMusic-iPadAdmin Initial Commit Apr 17, 2018
QueuedMusic Initial Commit Apr 17, 2018
Repo-Assets Compressing animated GIF Apr 17, 2018
Token-Swap-Service Adding token swap files Apr 17, 2018
LICENSE Update LICENSE Apr 17, 2018
README.md Update README.md Apr 17, 2018

README.md

logo

Queue'd Music

Queue'd is the best way to enjoy music with your friends. Add your favorite songs to a shared music queue at your favorite bars, restaurants and get-togethers, then vote to decide what plays next.

Music has an incredible way of setting the tone for any gathering. With Queue'd, the crowd takes control, collectively deciding what songs play, and in what order they are played in.

Connect with your Spotify account and add music from your favorite playlists, or search for any song you'd like, then add it to the queue with one touch. Vote up or down on any song in the queue, and control the flow of music with the help of those around you.

Read more information on our website.

What is this?

Queue'd is an application that creates a shared music queue, based on location. A 'venue' — for example, a bar — can create an account using the iPad Admin version of the app. This allows them to set up a location, and create a democratized music queue for others to 'check in' to, and begin adding music.

See more on the iPad Admin app

The iPhone version of the app is for patrons — in this example, the bargoers. Users can sign in using Spotify, Google, or enter as a Guest. Once 'checked in' to their location of choice, users can see and manipulate the queue by voting, adding songs, or purchasing vote packages to boost their song selections.

See more on the iPhone app

Getting Started

This project is a fully functional system, front to back...well, kinda. I provide the source code for the app on both iPhone and iPad, as well as examples for some backend code that you will need in order to have a fully functional version of the app(s).

For example, the app needs a token exchange service to use the Spotify SDK, and some cloud functions for creating and adding payments and payment methods to Stripe. In addiiton, the app uses Firebase to hold it's real-time, votable queue. Running the code and using the apps will begin to create your schema since Firebase will create nodes where they don't exist previously, if told to do so. However, it is assumed you know how to get a Firebase project up and running, since the app will also require your own GoogleService-Info.plist file to properly function.

You might be asking yourself — why release this entire system? Well, as with everything, there's a story...

Prerequisites

IDE

  • XCode 9+ (preferrable)
  • Swift 3.3+

External Products

  • Spotify Account
  • A Cloud Platform Account (Google, AWS, Azure, etc)
  • Firebase Account
  • Stripe Account (if you want to enable payments)

It may also be beneficial to have your own website so you can deploy your own version of Terms & Conditions and direct support requests to your domain email.

Installing

Since this is a full application, the best way to run it and make it your own is to download the .zip manually.

Running The Project

In order to run, you need to get a few things set up. Setup the accounts from the External Product section above, then roughly follow these steps:

  1. Create a Spotify Developer Account, to fully run the music system you will need Premium. Then, plug in your client id to the source code.
  2. Prepare a token exchange service (I used Heroku) and deploy the ruby files to run your exchange. Plug in your endpoints to the app.
  3. Create a Firebase project, include the GoogleService-Info.plist file from your project in the app files.
  4. Create a Stripe Account, and include your keys in the source code.
  5. Using a backend service (I used GCP), create and deploy the necessary cloud functions to power Stripe transactions, queue manipulation and more.

Built With

Authors

Ryan Daulton

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details