MangoRecipe/Source/Webserver/index.ts

11 lines
220 B
TypeScript
Raw Normal View History

2022-10-17 11:56:45 +02:00
import express from "express";
const app = express();
const port = 3430;
app.get('/', (req, res) => {
res.send("Hello wold!");
});
2022-10-17 11:56:45 +02:00
app.listen(port, () => {
console.log('✅ Webserver started on port ', port)
})