const express = require("express");
const path = require("path");

const app = express();

function customImplementation () {}

app.engine('pug', customImplementation);
app.set("view engine", "pug");
app.set("views", path.join(__dirname, "views"));

app.get("*", (req, res) => {
  res.render("index");
});

module.exports = app;
