Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 2.34 KB

README.md

File metadata and controls

57 lines (41 loc) · 2.34 KB

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.

Demo

image

Requirements

Installation

Run from your terminal:

git clone git@github.com: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