Skip to content

Instantly share code, notes, and snippets.

@fibo
Last active December 19, 2015 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fibo/5934269 to your computer and use it in GitHub Desktop.
Save fibo/5934269 to your computer and use it in GitHub Desktop.
Have an express coffee
# [Gist](https://gist.github.com/fibo/5934269)
#
# Deps:
# npm install express --save-dev
# npm install nodemon -g
# npm install coffee-script -g
#
# Run it with `nodemon express.coffee`
express = require 'express'
app = express()
app.use express.static __dirname
app.get '/', (req, res) ->
res.sendfile 'index.html'
app.listen 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment