- Poll schema uses string for results, how could we improve on this? Also the following request allows me to completely change the results
curl -H 'Content-Type: application/json' -X PUT -d '{ "results": ["32", "2", "5", "0"] }' http://localhost:9000/api/polls/556c8129bf64e30727806aeb
- socket io is used but the poll is updated not real time. Suppose I vote and leave the tab open with the results. The results should get updated as others are voting. What steps would be taken in order to push updates?
- Were there any challenges in putting the project together?
- What would you change or improve on? What other things would you like to work on if you had more time?