Skip to content

Latest commit

 

History

History
78 lines (58 loc) · 1.92 KB

README.md

File metadata and controls

78 lines (58 loc) · 1.92 KB

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