13 lines
245 B
TypeScript
Raw Normal View History

2024-04-21 16:30:44 +02:00
import express from "express";
const port = 3000; //TODO: mettre port en .ENV
const app = express();
app.get("/", (req, res) => {
res.send("helloworld form dev")
})
app.listen(port, () =>{
console.log(`serveur running in ${port}`)
})