Node.js Starter
Single Page App setup using industry's best practices and modules. Node.js, Express, Mongoose, passport.js, component.io, Jade, Stylus and Bootstrap.
Requirements
Installation
Run from your terminal:
git clone [email protected]:gravityonmars/nodejs-starter.git
cd nodejs-starter
make
Note: edit your config/development.json with your Facebook & Twitter keys. Instructions here
Related modules
- express β web application framework for node
- Jade β Template engine
- stylus β Pre-processor CSS
- component.io β client package management for building better web applications
- Bootstrap β CSS Framework
- passport β Simple, unobtrusive authentication for Node.js.
- mongoose β MongoDB object modeling tool designed to work in an asynchronous environment.
- connect-mongo β MongoDB session store for Connect
Test
npm test
Projects using it
Contributors
Common errors
buffer.js:382 throw new Error('Unknown encoding');
Update your node.js version- Difficulties under Windows, refer to issue #4
- Heroku deployment check issue #5
- Getting { [Error: EMFILE, open %fileName%'] errno: 20, code: 'EMFILE', after running make, make run or make run-dev This is due to a limit on the amount of files that can be open at the same time by your OS. Update your .base_profile file (or similar) by adding ulimit -n 2048.
Licence
MIT