A simple cipher app that performs Caesar and Vigenère Cipher. Build with springboot and springboot default database H2DB, with Thymleaf for frontend
Environment should have java
and maven
pre installed.
Clean and compile:
mvn clean install
On first setup this will download all the dependencies of the project.
(Optional)Skipping unit tests
mvn clean install -DskipTests
Run with embeded server tomcat:
mvn spring-boot:run
Run with debug. This will start remote debugging
mvn spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8001"
Once started, the application should be available at:
http://localhost:8081
Embedded console of h2DB is enabled by default in this application, see http://localhost:8081/h2-console
. Then, change JDBC URL to jdbc:h2:file:./data/cipher_db
, other should be as is, everything is set using default values.