Skip to content

daemon1981/express-application-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express application seed Build Status

Introduction

The purporse of this project is to create a real life web application plinth to learn good coding practices and functional strategies.

Good coding practices:

  • No duplication (DRY)
  • Orthogonality (Eliminate effects between unrelated things)
  • Decoupling
  • Testing

Functional Strategies:

Main librairies used

Setup

Installation

$ npm install -g coffee-script
$ npm install -g mocha
$ npm install
$ git submodule sync
$ git submodule update --init --recursive
$ bower install

Prerequisite

Install Redis

compile client coffeescripts on save:

$ coffee -wcb -o public/javascripts/ public/coffeescripts/*.coffee

Running

$ coffee app.coffee

Tests

launch tests:

$ make REPORTER=dot test

launch unit tests:

$ make REPORTER=dot test-unit

Unit tests table of content

launch functional tests:

$ make REPORTER=dot test-functional

Functional tests table of content

About

Project plinth in node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published