A classy youtube with friends "app". Submit videos, chat, skip ones you don't like.
Check it out in the wild here: tunetab.us.
Uses node.js, socket.io and react with babel and webpack. Exercise in writing "clean" react code.
cp config.sample.js config.jsthis is gitignored, you need to get a youtube api key and google analytics id
npm startstarts server
npm run builddev build, watches files for changes
npm run build-prodprod build with some minification and stuff
- edit upcoming playlist via ids
- add ability to lock room (user id) (alert room)
- private room flag (not broadcast when run
/rooms) (alert room)
- have way of autorunning rooms
- add unique token on login, store in cookie, use this for room locking, private rooms, further moderation functions
- REDIS datastore for non destructive deploys
- redo css with flexbox and BEM
- update title with current video, play icon for older browsers
- better deploy
- refocus input on click in chat bar
- deploy note for me...
sudo apt-get install build-essential g++
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000