Skip to content

Instantly share code, notes, and snippets.

@Floofies
Created March 22, 2018 05:06
Show Gist options
  • Save Floofies/c7f702da9b620247a5fb6448cd78db6e to your computer and use it in GitHub Desktop.
Save Floofies/c7f702da9b620247a5fb6448cd78db6e to your computer and use it in GitHub Desktop.
Used for clientside testing with Express & NodeJS
const express = require('express');
const app = express();
app.use(express.static("./"));
const server = app.listen(8080, () => console.log("Listening for HTTP on port 8080\n"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment