Initial commit: LAS Stream Viewer (Quarkus backend + React log-plot UI)

This commit is contained in:
2026-06-02 15:49:29 +05:30
commit acdbb8b340
47 changed files with 6870 additions and 0 deletions

18
run.ps1 Normal file
View File

@@ -0,0 +1,18 @@
# Dev launcher: starts the Vite UI (:5173) in a new window and the Quarkus API (:8090) here.
# Open http://localhost:5173 once both are up. Ctrl-C stops the backend.
$ErrorActionPreference = "Stop"
$root = $PSScriptRoot
$env:JAVA_HOME = "C:\Program Files\Java\jdk-21.0.11"
$mvn = "C:\Users\Dell\.m2\wrapper\dists\apache-maven-3.9.9-bin\4nf9hui3q3djbarqar9g711ggc\apache-maven-3.9.9\bin\mvn.cmd"
if (-not (Test-Path "$root\frontend\node_modules")) {
Write-Host "Installing frontend dependencies..." -ForegroundColor Cyan
Push-Location "$root\frontend"; npm install; Pop-Location
}
Write-Host "Starting Vite dev server (http://localhost:5173) in a new window..." -ForegroundColor Cyan
Start-Process powershell -ArgumentList '-NoExit', '-Command', "Set-Location `"$root\frontend`"; npm run dev"
Write-Host "Starting Quarkus dev (API on http://localhost:8090)..." -ForegroundColor Cyan
Set-Location $root
& $mvn quarkus:dev