• Stars
    star
    663
  • Rank 67,991 (Top 2 %)
  • Language
    JavaScript
  • Created over 11 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Single Page App setup using industry's best practices and modules. Node.js, Express, Mongoose, passport.js, component.io, Jade, Stylus and Bootstrap.

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 [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