The Scripler web application source code repository
JavaScript CSS HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
crons Added confirmation messages after upgrade and downgrade. Jul 22, 2015
documentation Initial commit of Web application file structure, and some in-progres… Jun 13, 2013
lib Better error handling for sparkpost Apr 26, 2016
models Implemented invoice template (including vat) Sep 26, 2015
public Fixes #1113 - Fixed GA event usage. eventValue is number only, so use… Nov 11, 2015
routes Send invoice date to Sparkpost Apr 26, 2016
scripts Implemented review comments Mar 28, 2015
test
views Updated CSS according to PO comments May 17, 2015
.gitignore Disabled automatic first line indent Dec 5, 2014
.gitmodules Fixed submodule. Nothing to see here, move along! Apr 20, 2015
LICENSE Added WTFPL license Jul 31, 2016
README.md Update Mocha link Dec 14, 2016
app.js Implemented review comments. Dec 15, 2014
package.json Mandrill cleanup Apr 22, 2016
server.js Proof-of-concept: Cluster with one node per CPU core. Aug 1, 2013

README.md

THIS REPOSITORY IS NO LONGER MAINTAINED!

Scripler

The Scripler web application source code repository.

Folder Structure

  • documentation
  • Early documentation drafts of the API
  • public
  • Static files to be deliveredserved through the Web server
  • views
  • Dynamic templates that needs rendering before being served from the Web server
  • config
  • Configuration files for the Node.js server
  • models
  • The MongoDB schemas for the collections
  • routes
  • Application logic for the different API routes
  • lib
  • Other application logic
  • test
  • unit and integration test

Requirements

Installation

npm install

How To Run

node app.js

Test

To run the unit- and integratation tests Mocha is required. Install in global scope:

npm install mocha -g

To run all tests enter:

mocha

Bcrypt Installation Problems

Ask for a pre-build module, or follow the guide: https://github.com/ncb000gt/node.bcrypt.js/#dependencies