Last active
October 13, 2015 01:28
-
-
Save nebjak/4118278 to your computer and use it in GitHub Desktop.
Whrite Node.js apps in CoffeeScript
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
http = require 'http' | |
server = http.createServer (req, res) -> | |
res.end 'Hello World\n' | |
server.listen 3000 |
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
//Write less and more beautiful code | |
require('coffee-script'); | |
// Start App | |
require('./app'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment