Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
/ node-skeleton Public archive

Node express skeleton with mongoose and session based authentication for client-server based web-development.

Notifications You must be signed in to change notification settings

Tuxion/node-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application - Version 0.0.1 Alpha

Installing

Prerequisites

  • Install Node From website
  • Install MongoDB From website
  • Install Node Package Manager sudo chown -R $USER /usr/local curl http://npmjs.org/install.sh | sh

Installation

  • Clone repository git clone [email protected]:Avaq/node-skeleton.git
  • Install dependencies cd node-skeleton npm install
  • Compile CoffeeScript cake build

Running

  • Start the application. cake start or cake -w start to restart automatically on changes.

Development

Prerequisites

Coding

Testing

Write your tests in /test/<path>. The convention is to make the same as the path to the file that you're testing in /src/<path>. Generic tests may be placed in test/<name>.coffee, but should be avoided.

More about creating tests can be found in the documentation below. Tests look like this:

describe "Mocha", ->
  it "should be able to describe stuff", ->
    describe.must.exist()

Run tests using cake test or cake --watch test to continuously test.

Documentation

Application

Testing

  • Mocha: Test runner and describer
  • Must: BDD asserting library.

About

Node express skeleton with mongoose and session based authentication for client-server based web-development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published