Ejs template

// After express body-parser and ejs has been installed using node. 


const express = require("express");

const bodyParser=require("body-parser");

const app = express();

app.use("view engine" , "ejs");


//Code to be written here


app.listen(3000,()=>{

console.log("Server started at port 3000");

})

Comments

Popular posts from this blog

To read data from database using mongo driver

To do list (without styling and css)

Template, layout and scope