#9 - Synced countdown
Long distance relation but still want to watch a movie together?
Here comes Syncstart!
Last week I decided to build a synced timer between two web clients, without actually spend more then an afternoon on it.
The idea behind is pretty simple:
- first client opens the webapp and receives a code
- second client opens the webapp and enters the code.
Oh, and you find yourself playing rock-paper-scissors-lizard-spock too.
Since I need some data persistency and a free hosting service, I chose Heroku + mLab mongodb instance.
Heroku solutions are really became pretty neat for this kind of super-quick prototyping/ideas.
The code is available on github.
References
- Syncstart
- Git repository: Syncstart repo
- Socket.io emit list: Actually I saved a snippet here