diff --git a/server_side/api/voting_system/images/voting.jpg b/server_side/api/voting_system/images/voting.jpg new file mode 100644 index 0000000..8fbfed3 Binary files /dev/null and b/server_side/api/voting_system/images/voting.jpg differ diff --git a/server_side/api/voting_system/votings.json b/server_side/api/voting_system/votings.json new file mode 100644 index 0000000..af13aa6 --- /dev/null +++ b/server_side/api/voting_system/votings.json @@ -0,0 +1,42 @@ +[ + { + "id": 1, + "name": "Test Voting", + "desc": "Sample voting description", + "img": "/img/voting.jpg", + "votes": [ + { + "id": 1, + "name": "Sample Vote 1", + "desc": "Sample description", + "votes": 5 + }, + { + "id": 2, + "name": "Sample Vote 2", + "desc": "Sample description", + "votes": 8 + } + ] + }, + { + "id": 2, + "name": "wooting", + "desc": "wooting desc", + "img": "/img/voting.jpg", + "votes": [ + { + "id": 0, + "name": "woote 1", + "desc": "woote desc", + "votes": 0 + }, + { + "id": 1, + "name": "woote 2", + "desc": "woote 3", + "votes": 0 + } + ] + } +] \ No newline at end of file