Code Monkey home page Code Monkey logo

defaultreact's Introduction

zlab-poll-2019

Please build an online anonymous voting poll.

  • Requirements:

    • the user can create a new vote with name and at least 2 questions.

    • there can be a maximum of 6 questions

    • the owner can define how many votes each participant has

    • once the poll is saved, a secure link to administer (edit/close/view results) is created

    • the owner can then generate voting tokens. They are valid as long as the poll is open and can only be used once

    • when accessing the poll using the token, each participant can vote only once. They can cast the votes freely: 1 vote for one option; all for one option; 2 for one option, 1 for another;...

    • the UI does not need to be fancy, but should work with few clicks

    • full page loads should be avoided if possible

  • First view should contain at least:

    • create poll with name and at least two questions
    • save poll
  • Second view should contain at least:

    • link to administer the poll
    • possibility to generate a defined amount of tokens
  • Voting view should contain at least:

    • vote for options
    • save the vote (with minimum one vote cast)
  • Administer pool should contain at least:

    • option to change the poll name
    • option to close the poll
    • option to view poll results

Bonus tasks to make the tool very easy to use: present the poll results in a graphic manner; add the copy to clipboard functionality for the tokens

You can use plain PHP, HTML, CSS and/or any library you desire. You can use vanilla JS or the vue.js or react framework. Just let us know why you choose the framework/library.

Note: there is no need for responsiveness, but if you have time to implement it, it is welcome. Also the code is more important than the UI.

You have 3 hours to finish the task. It does not matter if you do not finish it completely, just show us how far you came.

If you have any questions just ask.

defaultreact's People

Contributors

tobiinc avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.