This post is part of a series on an ongoing project. Today I cover the last step to get the basic function of the app complete! And that topic is generating the output to display back to the user. Let's start by looking at how the legacy code generates the output Legacy Output In the existing … Continue reading Job Costing #12 – Output
Category: Projects
Job Costing #11 – Loading the Excel Files
This post is part of a series on an ongoing project. Today I'm going to explore calling the legacy code from my Kotlin Spring controller. This will focus on calling the code that performs the analysis of the three input files and produces the output that will be sent back to the frontend. getTimeSheetData() The first … Continue reading Job Costing #11 – Loading the Excel Files
Job Costing #10 Legacy Migration
This post is part of a series on an ongoing project. Today, I'll dive into how I migrated the existing Java Swing app source code into my new project. The first step is pretty straightforward. Copy Source The first step is to actually copy the source files from the old project and move them into the … Continue reading Job Costing #10 Legacy Migration
Job Costing #9 – File Download
This post is part of a series on an ongoing project. And I lied! In my last post I said that I would focus on adding the code from the Java Swing application, and that is the direction I took when working on the project. But I've reconsidered, and I think that it makes more sense … Continue reading Job Costing #9 – File Download
Job Costing #8 – Sharing Control
This post is part of a series on an ongoing project. The user can upload a file in one of the file input controls, but there are two more file input controls that need to work. Today's entry is going to focus on reusing the existing code in the other two components. InputFileController To share the … Continue reading Job Costing #8 – Sharing Control
Job Costing #7 – Uploading Files Part 2
This post is part of a series on an ongoing project. In yesterday's post, I added support for uploading files to the backend. Today I'm going to focus on implementing the frontend side. InputFile State For starters, I need to add state to the InputFile component. The component can exist in the initial state - without … Continue reading Job Costing #7 – Uploading Files Part 2
Job Costing #7 – Uploading Files Part 1
This post is part of a series on an ongoing project. After I've built a static version of my app, I'm going to start adding in functional pieces. The first piece I'm going to add is the file upload component. And, to keep things simple, I'm going to start with only one file upload component (the … Continue reading Job Costing #7 – Uploading Files Part 1
Job Costing #6 – Static App
This post is part of a series on an ongoing project. Now that I have my React frontend app bundled together and deployed in a single JAR file with my backend Maven/Spring/Kotlin project, I am going to turn to build a completely static version of the frontend app. Inputs Let's start with the app's inputs. … Continue reading Job Costing #6 – Static App
Job Costing #5 – Packaging
Last time, I added a React frontend to my Maven/Spring/Kotlin project, and today I'll focus on packaging it all together. The goal is to deploy the app as a single JAR file. Let's dive right in! Add Maven Support First, I'll add the necessary npm commands to my Maven pom.xml file. The file needs to … Continue reading Job Costing #5 – Packaging
Job Costing #4 – Adding React
Now it's time to add a React frontend into my Maven/Kotlin/Spring project. I've found that trying to blend the React code under the standard Maven structure as something like /src/main/frontend to be rather problematic. So I'm going to embed the React source within a /frontend directory directly under the project's root directory. React Init First, … Continue reading Job Costing #4 – Adding React