This Java web application can be used to give short quizzes which can be loaded from any text file. The default quiz is about English Football, seeing as I know so much about it.
๐The code consists of a simple Java back-end server which provides a REST API using Jackson to the AngularJS front-end client. All the code is bundled into a WAR file and can be served from an Apache Tomcat Server
Try it out here
- Install Maven
brew install maven
- Run
mvn clean package
- If all goes well, you will have a
target
directory. Runjava $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port 8000 --session-store memcache target/*.war
- In your web browser visit
localhost:8000
to take the quiz