Craig Fletcher %!s(int64=4) %!d(string=hai) anos
pai
achega
f0fa394c11
Modificáronse 2 ficheiros con 183 adicións e 1 borrados
  1. 1 1
      Dockerfile
  2. 182 0
      data/ti.db

+ 1 - 1
Dockerfile

@@ -6,5 +6,5 @@ COPY package*.json ./
 RUN npm install
 COPY . .
 
-EXPOSE 8080
+EXPOSE 8082
 CMD [ "node", "index.js" ]

+ 182 - 0
data/ti.db

@@ -0,0 +1,182 @@
+{
+    "users": {
+        "test": {
+            "password": "testing",
+            "factions": []
+        },
+        "notalex": {
+            "password": "hhhh",
+            "factions": []
+        },
+        "defnotalex": {
+            "password": "hhhh",
+            "factions": []
+        },
+        "josh": {
+            "password": "test",
+            "factions": []
+        }
+    },
+    "votes": {
+        "test": {
+            "factions": [
+                {
+                    "name": "Sardakk N’orr",
+                    "id": 12
+                },
+                {
+                    "name": "Yin Brotherhood",
+                    "id": 16
+                },
+                {
+                    "name": "Winnu",
+                    "id": 14
+                }
+            ]
+        },
+        "defnotalex": {
+            "factions": [
+                {
+                    "name": "Yssaril Tribes",
+                    "id": 17
+                },
+                {
+                    "name": "Argent Flight",
+                    "id": 18
+                },
+                {
+                    "name": "Naaz-Rokha Alliance",
+                    "id": 21
+                }
+            ]
+        },
+        "notalex": {
+            "factions": [
+                {
+                    "name": "Yssaril Tribes",
+                    "id": 17
+                },
+                {
+                    "name": "Argent Flight",
+                    "id": 18
+                },
+                {
+                    "name": "Naaz-Rokha Alliance",
+                    "id": 21
+                }
+            ]
+        },
+        "josh": {
+            "factions": [
+                {
+                    "name": "Clan of Saar",
+                    "id": 3
+                },
+                {
+                    "name": "Emirates of Hacan",
+                    "id": 5
+                },
+                {
+                    "name": "Embers of Muaat",
+                    "id": 4
+                }
+            ]
+        }
+    },
+    "factionChoices": {
+        "test": {
+            "choices": [
+                {
+                    "name": "Clan of Saar",
+                    "id": 3,
+                    "unique": false
+                },
+                {
+                    "name": "Embers of Muaat",
+                    "id": 4,
+                    "unique": false
+                },
+                {
+                    "name": "Empyrean",
+                    "id": 19,
+                    "unique": true
+                }
+            ],
+            "selected": {
+                "name": "Empyrean",
+                "id": 19,
+                "unique": true
+            }
+        },
+        "defnotalex": {
+            "choices": [
+                {
+                    "name": "Yssaril Tribes",
+                    "id": 17,
+                    "unique": false
+                },
+                {
+                    "name": "Argent Flight",
+                    "id": 18,
+                    "unique": false
+                },
+                {
+                    "name": "Naaz-Rokha Alliance",
+                    "id": 21,
+                    "unique": false
+                }
+            ],
+            "selected": {
+                "name": "Mahact Gene-Sorcerers",
+                "id": 20
+            }
+        },
+        "notalex": {
+            "choices": [
+                {
+                    "name": "Yssaril Tribes",
+                    "id": 17,
+                    "unique": false
+                },
+                {
+                    "name": "Argent Flight",
+                    "id": 18,
+                    "unique": false
+                },
+                {
+                    "name": "Naaz-Rokha Alliance",
+                    "id": 21,
+                    "unique": false
+                }
+            ],
+            "selected": {
+                "name": "Naalu Collective",
+                "id": 10
+            }
+        },
+        "josh": {
+            "choices": [
+                {
+                    "name": "Clan of Saar",
+                    "id": 3,
+                    "unique": false
+                },
+                {
+                    "name": "Emirates of Hacan",
+                    "id": 5,
+                    "unique": true
+                },
+                {
+                    "name": "Embers of Muaat",
+                    "id": 4,
+                    "unique": false
+                }
+            ],
+            "selected": {
+                "name": "Emirates of Hacan",
+                "id": 5,
+                "unique": true
+            }
+        }
+    }
+}