This is my implementation of an imaginary course selection system. Backed by a relational database, hosted by SparkJava web framework and interfaced with Vue.js client.
Hosted site
The SparkJava application is hosted on Google App Engine Standard Environment with Java11.
Since GAE only allows read-only access to SQLite datafile, exceptions are caught. But can be ignored, data query and operations are still simulated. db is copied to /tmp, changes persist as long as the app instance is running.
Selected Course List
### Project Requirements
DB Select course System
- Vaadin/SparkJava
- sql2o or Mybatis
- list selectable courses
- select courses (cart)
- edit-selected course (cart edit)
- 21 max credit
- Dependency Courses
- Time conflict resolution
- /docs - documentation
- /src/main/java - java source files
- /src/main/resources - html/js source files
- /target - compiled executables
- /db - default database location
- MVN clean
- MVN compile
- MVN package
- The executable jar is in /target
By default operations are reverted. To make permanent change, change /src/main/java/Main.java DEBUG constant to 0.