weJay
Remember that time you went to a party and some stranger hijacked the playlist to spin a track no one else wanted to hear? Or that time you invited friends over but were too busy to manage the music? With weJay, the whole party decides which song plays next.
A host starts a party, and anyone who launches the app can join as a guest. Each guest is a DJ who can suggest songs, vote on others' suggestions, and accrue 'DJ points' depending on how many people up-vote their songs. The next song played is determined by its votes and the time passed since first suggested.
weJay uses Firebase to namespace different parties and provide real-time updates to each client. When a client suggests a song, it receives a snapshot of the relevant Firebase data and pushes the song to its proper place in the Firebase queue. Concurrently, Node listens to for when a song finishes playing, at which point it receives a snapshot of the Firebase party state and computes the next song accordingly. Songs are streamed from SoundCloud to the host client device only, but all guests can view the info of the song currently being played.
----
Fullstack Academy was recently ranked the #1 coding bootcamp in the U.S. Learn more at https://www.fullstackacademy.com.
Other Videos By Fullstack Academy
2017-01-12 | Git Tutorial - Learn How to Use Git |
2017-01-12 | Remote Online Tech Talk: Problems and Reflections When Developing in VR |
2017-01-12 | Web Accessibility Guidelines - How to Keep the Web Open and Accessible |
2017-01-12 | Remote Online Tech Talk: How to use Generators, Iterators, and Async Functions in JavaScript |
2016-12-14 | Flight Week: Job Search Panel |
2016-12-14 | 2016 "Coding for Good" Hackathon -- closing demos and voting |
2016-12-13 | Lunar Adventure |
2016-12-10 | CS Saturday - Cryptography |
2016-12-09 | Agamari |
2016-12-09 | Steps |
2016-12-09 | weJay |
2016-12-09 | Cheddar |
2016-12-09 | Archiver |
2016-12-09 | Loop |
2016-12-09 | Flow |
2016-12-03 | Fullstack Academy Live |
2016-12-02 | The Internet of Things Explained - What is IoT and How Does it Work? |
2016-11-29 | GitTogether |
2016-11-28 | How to create a Twitter Bot - Learn how to make your own Twitter Bots |
2016-11-28 | TECH TALK: Review of MIT's VR Hackathon, "Reality, Virtually" |
2016-11-23 | D3.js Tutorial - An Introduction to the D3.js Library |