Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Scripler/scripler

Repository files navigation

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