Quiz
Quiz App for OCP https://github.com/jitterted/quizdown
Java OCP Quiz Application
Ubiquitous Language
Domain | Definition | "Quiz Maker" Bounded Context | "Quiz Taker" Bounded Context |
---|---|---|---|
Choice |
Choice for a question |
Editable |
Immutable |
Answer |
Correct choice(s) for a question |
Editable |
not directly visible |
Single Choice |
A question that has only 1 answer |
Editable |
Invisible |
Multiple Choice |
A question that has 2 or more answers |
Editable |
Invisible |
Quiz |
Collection of Questions |
Define (editable) |
Immutable/ read-only |
Quiz Taker |
Person that is taking the quiz |
Does not exist in the Editable Bounded context |
Stateful |
Quiz Session |
Quiz being taken by a person, collecting Responses |
Does not exist |
Stateful |
Response |
Choice selected by Quiz taker |
Does not exist |
Value Object |
Grade |
How well a Quiz Taker did for a specific, completed Quiz Session |
Does not exist |
Value Object |
Explanation |
Further information about question |
Editable |
View only |
Category |
Type of question - single, multiple, fill-in |
Editable |
View only |
Getting started
-
Run
mvn verify
to download all dependencies to your local repository. -
Copy
src/main/resources/application-local.properties.example
tosrc/main/resources/application-local.properties
-
Start the application from your IDE using the
local
profile. -
Run
npm run build && npm run watch
in a separate terminal window to have Live Reload. (If you like to have less output in the terminal window, runnpm run --silent build && npm run --silent watch
) -
Access the application at http://localhost:3000
-
Access the application at http://localhost:3000
-