text: // Express
  const express = require('express');
  const app = express();
  
  // Routes
  // ADD ROUTE LINK HERE
  
  // Define middleware
  app.use(express.urlencoded({extended: true}));
  app.use(express.json());
  
  // Connect app to Heroku
  if(process.env.NODE_ENV !== 'production'){app.use(express.static("client/build"));}
  
  // MongoDB
  const mongoose = require('mongoose');
  // connect Mongoose to mongodb with db named venueapp
  mongoose.connect(process.env.MONGODB_URI || 'mongodb://localhost/venueapp');
  
  // Port for BE
  const PORT = process.env.PORT || 3001;
  app.listen(PORT, function(){
      console.log('backend server running on port 3001');
  });
  