Move files around

This commit is contained in:
2025-06-04 08:59:01 +02:00
parent 1dec655fb9
commit ed68ead1fb
62 changed files with 36 additions and 1761 deletions

View File

@@ -0,0 +1,13 @@
package be.seeseepuff.pcinv;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class PcinvApplication {
public static void main(String[] args) {
SpringApplication.run(PcinvApplication.class, args);
}
}

View File

@@ -0,0 +1,12 @@
package be.seeseepuff.pcinv.controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class WebController {
@GetMapping("/")
public String index() {
return "index"; // This will resolve to src/main/resources/templates/index.html
}
}

View File

@@ -0,0 +1 @@
spring.application.name=pcinv

View File

@@ -0,0 +1,9 @@
<html>
<head>
<meta charset="UTF-8">
<title>PC Inventory</title>
</head>
<body>
<h1>Hello, world!</h1>
</body>
</html>

View File

@@ -0,0 +1,13 @@
package be.seeseepuff.pcinv;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class PcinvApplicationTests {
@Test
void contextLoads() {
}
}