text: const express = require('express');
  const oauth = require('./routes/oauth');
  const boats = require('./routes/boats');
  const loads = require('./routes/loads');
  const bodyParser = require('body-parser');
  
  const app = express();
  
  app.set('view engine', 'ejs');
  app.use(bodyParser.json());
  
  
  app.use("/", oauth);
  app.use('/boats', boats);
  app.use('/loads', loads);
  
  app.use(function (err, req, res, next) {
      console.error(err.stack);
      res.status(500).send('Something broke!')
  });
  
  // Listen to the App Engine-specified port, or 8080 otherwise
  const PORT = process.env.PORT || 8080;
  app.listen(PORT, () => {
      console.log(`Server listening on port ${PORT}...`);
  });