I am facing an issue with my express code where it is not rendering the data properly. Can someone please assist me in resolving this error? Your help will be greatly appreciated!
let express=require('express');
let app=express();
let path=require('path');
app.set('veiw engine','hbs');
let port =1000;
app.ge1t('',(req,res)=>{
res.render("index");
})
app.listen(1000,()=>{
console.log(`listening to this port: ${port} `);
})
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<p> hello </p>
</body>
</html>