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