title: NodeJS + Express 404 on basic routing
body: <p>I already created a tutorial Node/Express app earlier and it worked fine, and after trying to copy it and make my new project (ubuntu, then windows), basic routing fails and 404s every time, super frustrating!</p>
  
  <p>I'm trying to reach <code>/finddrink/margarita</code> or whatever drink I want.</p>
  
  <p>Here's my app.js with the relevant stuff:</p>
  
  <pre><code>var routes = require('./routes/index');
  var users = require('./routes/users');
  
  var app = express();
  
  app.use('/', routes);
  app.use('/users', users);
  </code></pre>
  
  <p>And here is my index.js, in the routes folder:</p>
  
  <pre><code>var express = require('express');
  var router = express.Router();
  
  /* GET home page. */
  router.get('/', function(req, res, next) {
    res.render('index', { title: 'Express' });
  });
  
  /*GET drink recipe*/
  router.get('/findrink/:name', function (req,res){
      var db = req.db;
      var drinkName = req.params.name;
      db.collection('recipes').findOne({name: drinkName}, function (err, result) {
          res.send(result);
      });
  });
  module.exports = router;
  </code></pre>
  
  <p>And lastly, the function trying to access this GET:</p>
  
  <pre><code>function loadDrink(drinkToGet) {
    var address = '/finddrink/' + drinkToGet;
  
    $.getJSON(address, function (item) {
      document.getElementById('drinkTitle').innerHTML = item.name;
    });
  };
  </code></pre>
  
  <p>I'm reading the code on my laptop with the running project, then on my desktop with almost identical code, and can't seem to find anything wrong, any ideas? Thanks!</p>