shin-neo-lyrical-tokarev/app.js

16 lines
281 B
JavaScript
Raw Normal View History

2024-10-05 20:50:29 -04:00
const express = require('express')
const app = express()
const port = 3003
app.set('view engine', 'hbs')
app.use('/public', express.static('public'))
app.get('/', (_req, res) => {
res.render("home")
})
app.listen(port, () => {
console.log(`Listening on port ${port}`)
})