donald donald - 1 month ago 19
CoffeeScript Question

Node.js: Create an Express project using CoffeeScript

When I run express app_name, expressjs creates all the folders and files needed. I'm wondering if there's a way to do the same but instead of creating the app.js in JS, it creates in CoffeeScript.

Thanks

Answer

Try this: https://github.com/twilson63/express-coffee

express-coffee is a template or boiler-plate to get started writing express web applications in CoffeeScript. It comes ready to go with base setup for an Express Web App. It includes a Cakefile that lets you build, spec, and watch your coffeescript as you develop. You hack in the src folder and run cake build to build you server files, write your mocha in your test folder and run cake test or spec to run your test suite. Create your jade views in the views folder and put your public assets in the public folder...

Comments