From 8b0789ad76898ef121b8910e49ea80781d7f35fb Mon Sep 17 00:00:00 2001 From: Jacob Casper Date: Sun, 9 Jun 2024 18:41:45 -0500 Subject: [PATCH] Refactor to multi-module project for backend client --- fflogsclient/pom.xml | 20 +++++++++++++++++++ pom.xml | 16 ++++++++++----- xivgraphrest/pom.xml | 20 +++++++++++++++++++ .../java/com/jacobcasper/xivgraph/App.java | 0 .../xivgraph/controllers/ApiController.java | 0 .../controllers/StaticController.java | 0 .../src}/main/resources/templates/index.html | 0 7 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 fflogsclient/pom.xml create mode 100644 xivgraphrest/pom.xml rename {src => xivgraphrest/src}/main/java/com/jacobcasper/xivgraph/App.java (100%) rename {src => xivgraphrest/src}/main/java/com/jacobcasper/xivgraph/controllers/ApiController.java (100%) rename {src => xivgraphrest/src}/main/java/com/jacobcasper/xivgraph/controllers/StaticController.java (100%) rename {src => xivgraphrest/src}/main/resources/templates/index.html (100%) diff --git a/fflogsclient/pom.xml b/fflogsclient/pom.xml new file mode 100644 index 0000000..8f03f60 --- /dev/null +++ b/fflogsclient/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.jacobcasper + xivgraph + 1.0-SNAPSHOT + + + fflogsclient + + + 22 + 22 + UTF-8 + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index d8bfe52..0c09d7c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,37 +6,43 @@ com.jacobcasper xivgraph + pom 1.0-SNAPSHOT - xivgraph https://www.jacobcasper.com + + fflogsclient + xivgraphrest + + UTF-8 22 22 + 3.3.0 org.springframework.boot spring-boot - 3.3.0 + ${springBootVersion} org.springframework.boot spring-boot-autoconfigure - 3.3.0 + ${springBootVersion} org.springframework.boot spring-boot-starter-thymeleaf - 3.3.0 + ${springBootVersion} org.springframework.boot spring-boot-starter-web - 3.3.0 + ${springBootVersion} junit diff --git a/xivgraphrest/pom.xml b/xivgraphrest/pom.xml new file mode 100644 index 0000000..a15abf9 --- /dev/null +++ b/xivgraphrest/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.jacobcasper + xivgraph + 1.0-SNAPSHOT + + + xivgraphrest + + + 22 + 22 + UTF-8 + + + \ No newline at end of file diff --git a/src/main/java/com/jacobcasper/xivgraph/App.java b/xivgraphrest/src/main/java/com/jacobcasper/xivgraph/App.java similarity index 100% rename from src/main/java/com/jacobcasper/xivgraph/App.java rename to xivgraphrest/src/main/java/com/jacobcasper/xivgraph/App.java diff --git a/src/main/java/com/jacobcasper/xivgraph/controllers/ApiController.java b/xivgraphrest/src/main/java/com/jacobcasper/xivgraph/controllers/ApiController.java similarity index 100% rename from src/main/java/com/jacobcasper/xivgraph/controllers/ApiController.java rename to xivgraphrest/src/main/java/com/jacobcasper/xivgraph/controllers/ApiController.java diff --git a/src/main/java/com/jacobcasper/xivgraph/controllers/StaticController.java b/xivgraphrest/src/main/java/com/jacobcasper/xivgraph/controllers/StaticController.java similarity index 100% rename from src/main/java/com/jacobcasper/xivgraph/controllers/StaticController.java rename to xivgraphrest/src/main/java/com/jacobcasper/xivgraph/controllers/StaticController.java diff --git a/src/main/resources/templates/index.html b/xivgraphrest/src/main/resources/templates/index.html similarity index 100% rename from src/main/resources/templates/index.html rename to xivgraphrest/src/main/resources/templates/index.html -- 2.20.1