node.js live voting application with ip address of voter from vote submitted

I am working on a node.js application similar to this: and wanted to check if there's one I can reuse and extend for my use-case. I am planning to create voting app which can grab the ip address of the first vote submitted. Any suggestions? I don't want the voters to see the results of the poll. Thanks!