| const viewsPath = path.join(__dirname, '../templates/views') | const viewsPath = path.join(__dirname, '../templates/views') | ||||
| app.use(express.json()) | app.use(express.json()) | ||||
| app.set('view engine', 'hbs') | |||||
| app.set('views', viewsPath) | |||||
| app.get('/', (req, res) => { | app.get('/', (req, res) => { |