Home

Awesome

Angular Espresso

Start an app with AngularJS on the client, Express + Node + Socket.IO as your back-end, all written in CoffeeScript.

Current version

Current version: 0.3.0

This version includes the following components:

Installation

You need to have installed node, CoffeeScript, make sure you install CoffeeScript globally. You also need LESS.

Once you have them installed, extract the downloaded file, go to the directory it was extracted to and execute setup.sh or setup.bat (depending on your OS):

Cakefile Usage

Once you install the dependencies, use the Cakefile for performing different actions:

cake build                # Builds app
cake build:module         # Builds the Espresso module
cake build:client         # Builds client scripts
cake clean                # Clean module and client
cake clean:module         # Cleans the Espresso module
cake clean:client         # Cleans the client
cake run                  # Runs the app (you should build first)

The typical usage would be:

cake build
node app # or cake run

Configuration

There's no configuration for using Angular Espresso, all you need to do is download the project, install its dependencies with npm and run your node app.

Your .coffee files should be under the "app" folder. The project structure is the following:

NOTE: Each directory has a README file with more detail

At the root folder, there are two more folders to consider:

In the future, I will be adding support for testing. I won't implement file watching until it is stable in node.

Contribute

If you want to help, fork/clone/share the project, suggest new features, and/or submit pull requests. Contact me directly at william.r.mora@gmail.com or @_williammora.

Author

William Mora - @_williammora - http://www.williammora.com

References

For more on AngularJS: http://angularjs.org

For more on CoffeeScript: http://coffeescript.org

For more on Express: http://expressjs.com

For more on Jade: http://jade-lang.com

For more on Socket.IO: http://socket.io/

For more on LESS: http://lesscss.org/