Skip to content

Sample State

Jacob Prall edited this page Sep 3, 2020 · 15 revisions
{
  "entities": {
    "activeGame": {
      "_id": "JFGASF79373",
      "timeRemaining": 30,
      "timeElapsed": 35,
      "score": 50,
      "clue": "What has four legs and barks?",
      "guess": "DATABASE",
      "answer": "DIGYDOGS",
      "guessedWords": ["FISH", "SHEBANG"],
      "cluesReceived": ["SWIMS IN SCHOOL", "PARTY TIME"],
      "wordsReceived": ["FISH", "SHINDIG"]
      },
    "savedGames": {
       "gamesArray": [
            { 
              "_id": "1G8HY493E839",
              "user": "FEI4930FJ3",
              "wordsGuessed": [""]
               
            }
        ]
      },
    },
  "errors": {
    "session": ["Incorrect username or password"]
    },
  "session": {
    "isAuthenticated": true,
    "user": {
      "id": "string",
      "username": "tester",
      "iat": 153432842343,
      "exp": 235325432523
    }
}

Clone this wiki locally