Created
March 22, 2018 05:06
-
-
Save Floofies/c7f702da9b620247a5fb6448cd78db6e to your computer and use it in GitHub Desktop.
Used for clientside testing with Express & NodeJS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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