Maaltafels
import express from "express";
const app = express();
app.set("port",3000);
app.set("view engine", "ejs");
app.get("/", (req,res) => {
res.render("maaltafels");
})
app.listen(app.get("port"), () => {
console.log(`Web application started at http://localhost:${app.get("port")}`)
});
Laatst bijgewerkt