Browse Source

json db and static images

pull/2/head
Efe Aydın 6 years ago
committed by GitHub
parent
commit
cd51ff343a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions
  1. BIN
      server_side/api/voting_system/images/voting.jpg
  2. +42
    -0
      server_side/api/voting_system/votings.json

BIN
server_side/api/voting_system/images/voting.jpg View File

Before After
Width: 640  |  Height: 623  |  Size: 36 KiB

+ 42
- 0
server_side/api/voting_system/votings.json View File

@ -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
}
]
}
]

Loading…
Cancel
Save