title: Cannot get app.css, main.js, other files to load using an Express server
body: <p>I have the following code:</p>
  
  <pre><code>var express = require('express');
  var app = express();
  var server = require('http').Server(app);
  
  app.get('/', function(req,res){
   res.sendfile(__dirname + '/index.html');
  });
  
  server.listen(3000);
  </code></pre>
  
  <p>However, only my index.html page displays, and I have a GET error for my other files. When I load index.html at localhost:3000, I have errors in the console with trying to find my main.js and app.css files. Even when I include my other files as a src in the html file, they are not able to load. I think this may be because I am only sending the single html file to the server. How can I handle this so that all of the relevant files are sent to the server?</p>