Skip to content

Instantly share code, notes, and snippets.

@matstc
Created January 23, 2017 11:08
Show Gist options
  • Save matstc/63cc0b020dc4b4407691a5863287a970 to your computer and use it in GitHub Desktop.
Save matstc/63cc0b020dc4b4407691a5863287a970 to your computer and use it in GitHub Desktop.
Simple ExpressJS server
var express = require('express')
var app = express()
app.use(express.static('.'))
app.listen(3000, function () {
console.log('App listening on port 3000!')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment