Backend integrated?
Some checks failed
Build and Deploy Nuxt / build (push) Failing after 2m1s

This commit is contained in:
2026-03-17 19:48:05 +01:00
parent 3e0cdf8cc4
commit 45404157b3
15 changed files with 1624 additions and 58 deletions

View File

@@ -7,8 +7,9 @@ const connectDB = require("./db");
// connect database
connectDB();
app.get("/", (req, res) => {
res.send("Hello from Proxmox container!");
app.get("/api/test", (req, res) => {
console.log("Hey");
res.json({"message": "Hello from backend!"});
});
app.listen(5000, () => {