A Spring web application for generating assignments in PDF!
View Demo
There were many struggles throughout this project, such as Maven setup, Spring setup, Hibernate setup, SoC, and Java Reflection. However, I could expand this project sometime. I want to enhance this application so that it:
- Validates input
- Checks for errors
- Provides a better user interface
- Allows users to have accounts so that they may keep track of their own assignments
- Does not allow duplicate questions and assignments to be saved into the database
- Clone this repository
- Build with Maven
- Deploy to a Tomcat server
- Use
reporter.sql
to create the database
This is just an example use case. I have only prepared 3 test files, which can be found in the tests
folder, to show how this application works.
Beginning on the home page, you will have no questions. This is because no questions have been uploaded into the database yet, so let's do that.
Upload the 3 test files, that I have provided, in this order:
cs4012homework1.properties
cs4012quiz1.properties
cs4012test1.properties
The only reason for the order is because cs4012test1.properties
contains information that references the other 2 properties files. This way, there are no errors, because we are assuming that the user knows what they are doing.
Click the upload button.
This page will provide 3 links that you can click to take you to the generated PDFs.
The generated homework PDF from cs4012homework1.properties
.
The generated quiz PDF from cs4012quiz1.properties
.
The generated test PDF from cs4012test1.properties
.
The home page will now have questions since you uploaded the 3 properties file's questions into the database.