init hello-test app

This commit is contained in:
maik
2026-06-08 02:16:31 +00:00
parent 4111959cc9
commit ef16c480fa
3 changed files with 19 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
name = "hello-test"
version = "1.0.0"
framework = "express"
type = "backend"
[start]
command = "node server.js"
processes = 1
[web]
path = "/"
health = "/health"
+1
View File
@@ -0,0 +1 @@
{"name":"hello-test","version":"1.0.0","private":true,"dependencies":{"express":"^4.18.0"}}
+6
View File
@@ -0,0 +1,6 @@
const express = require("express");
const app = express();
const port = process.env.PORT || 3000;
app.get("/", (req, res) => res.send("Hello from test app!"));
app.get("/health", (req, res) => res.json({ status: "ok" }));
app.listen(port, () => console.log("Test app on port", port));