MangoRecipe/Source/Webserver/index.ts

11 lines
220 B
TypeScript

import express from "express";
const app = express();
const port = 3430;
app.get('/', (req, res) => {
res.send("Hello wold!");
});
app.listen(port, () => {
console.log('✅ Webserver started on port ', port)
})