Skip to content

Commit c4ae4d8

Browse files
authored
Merge pull request #59 from xpquiz/develop
v1.4.0
2 parents 58f60c9 + 81aa001 commit c4ae4d8

22 files changed

+4076
-1868
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

3+
src/environments/environment.ts
4+
35
# Compiled output
46
/dist
57
/tmp

angular.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@
6060
"vendorChunk": true,
6161
"extractLicenses": false,
6262
"sourceMap": true,
63-
"namedChunks": true
63+
"namedChunks": true,
64+
"fileReplacements": [
65+
{
66+
"replace": "src/environments/environment.ts",
67+
"with": "src/environments/environment.development.ts"
68+
}
69+
]
6470
}
6571
},
6672
"defaultConfiguration": "production"
@@ -115,5 +121,8 @@
115121
}
116122
}
117123
}
124+
},
125+
"cli": {
126+
"analytics": false
118127
}
119128
}

db.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"theTriviaApi": [
3+
{
4+
"category": "society_and_culture",
5+
"id": "622a1c367cc59eab6f950408",
6+
"correctAnswer": "Rosa Parks",
7+
"incorrectAnswers": [
8+
"Angela Davis",
9+
"Dorothy Cotton",
10+
"Fanny Lou Hamer"
11+
],
12+
"question": {
13+
"text": "Which civil right activist is famous for refusing to give up her seat on a bus to make way for a white person?"
14+
},
15+
"tags": [
16+
"general_knowledge",
17+
"people",
18+
"society_and_culture"
19+
],
20+
"type": "text_choice",
21+
"difficulty": "medium",
22+
"regions": [],
23+
"isNiche": false
24+
}
25+
],
26+
"openTriviaDb": {
27+
"response_code": 0,
28+
"results": [
29+
{
30+
"type": "multiple",
31+
"difficulty": "medium",
32+
"category": "Entertainment: Video Games",
33+
"question": "Which one of the first four titles of the "Grand Theft Auto" franchise started the series of iconic image grid cover arts?",
34+
"correct_answer": "Grand Theft Auto III",
35+
"incorrect_answers": [
36+
"Grand Theft Auto",
37+
"Grand Theft Auto II",
38+
"Grand Theft Auto Vice City"
39+
]
40+
}
41+
]
42+
},
43+
"quizApi": [
44+
{
45+
"id": 616,
46+
"question": "How do we check if a given variable is empty?",
47+
"description": null,
48+
"answers": {
49+
"answer_a": "With the null() function.",
50+
"answer_b": "With the empty() function.",
51+
"answer_c": "With the isitnull() function.",
52+
"answer_d": "With the isitempty() function.",
53+
"answer_e": null,
54+
"answer_f": null
55+
},
56+
"multiple_correct_answers": "false",
57+
"correct_answers": {
58+
"answer_a_correct": "false",
59+
"answer_b_correct": "true",
60+
"answer_c_correct": "false",
61+
"answer_d_correct": "false",
62+
"answer_e_correct": "false",
63+
"answer_f_correct": "false"
64+
},
65+
"correct_answer": "answer_a",
66+
"explanation": null,
67+
"tip": null,
68+
"tags": [
69+
{
70+
"name": "PHP"
71+
}
72+
],
73+
"category": "Code",
74+
"difficulty": "Easy"
75+
}
76+
]
77+
}

0 commit comments

Comments
 (0)