HelloWorld

This commit is contained in:
rca 2024-06-15 16:19:16 +09:00
parent cdf2ebe92f
commit 5529ef4a5e

13
src/index.ts Normal file
View File

@ -0,0 +1,13 @@
import express from "express";
const app = express();
const port = 3000;
app.get("/", (req, res) => {
res.send("Hello World!");
});
app.listen(port, () => {
console.log(`Server is running on http://localhost:${port}`);
});