text: var express = require("express");
  var app = express();
  var path = require("path");
  var PORT = process.env.PORT || 8080;
  
  app.use(express.urlencoded({ extended: true }));
  app.use(express.json());
  app.use(express.static("public"));
  
  require("./routes/apiRoutes")(app);
  require("./routes/htmlRoutes")(app);
  
  app.listen(PORT, function() {
      console.log("App listening on PORT: " + PORT);
    });