Infigo-node-boilerplate is a project mainly written in COFFEESCRIPT and JAVASCRIPT, it's free.
NodeJS project boilerplate
This is project template for Node.js based project we create in our company. It is written with Coffee-Script. It uses Express.js and Jade as template language It also has user authentication and authorization implemented. As storage it support either MySQL, Drizzle or MongoDB
There are users, groups and roles User can belong to any number of groups Roles can be assigned to groups and users Groups and Users can have many roles
To check roles in routes (urls) one just has to call Auth.requireRole with space separated list of roles required. (see routes/admin/index.coffee) Missing roles are created automatically.
Currently project doesn't include routes for managing user,groups or roles, but this is coming soon.
--type can be "mysql","drizzle","mongo" defaults to "mysql" Additional arguments for initproject.sh: (more info ./bin/initproject.sh --help)
NOTE: If selected type is mysql or drizzle you must manually run init_db script after creating database and sql user. (see initproject.sh output for details)
If deploy.* and git.remote options were configured when initproject.sh was run, (or configured manually to config/deploy.rb) One can run
OR