Single Page App setup using industry's best practices and modules. Node.js, Express, Mongoose, passport.js, component.io, Jade, Stylus and Bootstrap.
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
- 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
npm test
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.
MIT