Skip to content

Instantly share code, notes, and snippets.

@laribee
Created October 27, 2010 22:14
Show Gist options
  • Select an option

  • Save laribee/650129 to your computer and use it in GitHub Desktop.

Select an option

Save laribee/650129 to your computer and use it in GitHub Desktop.
Node.js "Hello World" web server in CoffeeScript
require.paths.unshift './vendor'
app = require('express').createServer()
app.get '/', (request, response) ->
response.send 'hello world'
app.listen 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment