waffle/src/index.ts

10 lines
198 B
TypeScript
Raw Normal View History

2022-04-04 16:50:52 +03:00
import express from "express";
const PORT = 3000;
const app = express();
app.get("/", (req, res) => {
res.send("hello!");
});
app.listen(PORT, () => console.log(`Listening on port ${PORT}`));