text: // Dependencies
  // =============================================================
  var express = require("express");
  var path = require("path");
  
  const apiRoutes = require('./routes/apiRoutes');
  const htmlRoutes = require('./routes/htmlRoutes');
  
  // Sets up the Express App
  // =============================================================
  var app = express();
  var PORT = process.env.PORT || 3000;
  
  // Sets up the Express app to handle data parsing
  app.use(express.urlencoded({ extended: true }));
  app.use(express.json());
  app.use(express.static('public'));
  
  
  //  Connect all our routes to our application
  app.use('/', apiRoutes);
  app.use('/', htmlRoutes);
  
  
  
  
  
  
  
  
  // Starts the server to begin listening
  // =============================================================
  app.listen(PORT, function() {
      console.log("App listening on PORT " + PORT);
    });
    