text: var express = require('express');
  var app = express();
  
  var path = require('path');
  var cors = require('cors');
  var morgan = require('morgan');
  var bodyParser = require('body-parser');
  var restaurantsRouter = require('./routers/restaurants.js');
  var restaurantsApiRouter = require('./routers/restaurants_api.js');
  
  app.use(cors());
  app.use(bodyParser.json());
  app.use(morgan('tiny'));
  
  app.options((req, res) => {
    res.send('OK');
  });
  
  app.get('/bundle.js', (req, res) => {
    res.sendFile(path.resolve('client/dist/bundle.js'));
  });
  
  app.use('/restaurants', restaurantsRouter);
  
  app.use('/api/restaurants', restaurantsApiRouter);
  
  
  
  var port = process.env.PORT || 3003;
  app.listen(port, () => { console.log('Listening on http://localhost:' + port); });
  