This is a tool for creating and generating a quiz. It was created as a project for the Java fundamental class project in the Epita 2019 Fundamental master of computer science cursus.
The database used is h2 database. The defau 5A88 lt identifiants of database used in this projects are:
jdbc.url=jdbc:h2:~/test
jdbc.username=sa
jdbc.password=
If you have different database identifiants, put them in the properties.config file.
If the h2 database doesn't work, add /lib/h2.jar to the modulepath. Follow this tutorial to add an external jar to the classpath of your project.
Do the same for /lib/itext.jar in order to be able to export quiz to pdf.
Before starting you need to run the sql queries in the "database_init.txt" file in your h2 database. This will create all the tables needed to stores the quesitons and users.
The queries will also add a student user and an admin user with the identifiants shown after. The tables created are empty so taking a quiz as student will not be possible until you add questions as an admin.
To run the program, run the Main in the package com.epita.quimanager.main. You can use Eclipse, Netbeans or Intellij Ideas to run the project easily. Otherwise you need to compile all the classes.