0.5.6 • Published 7 years ago

expressdrive v0.5.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

ExpressDrive

Installation

npm install expressdrive

Usage

var express = require("express");
var ExpressDrive = require("expressdrive");
var app = express();
var expressDrive = new ExpressDrive(app);

Configuration

Configuration for ExpressDrive is in a file called expressdrive.config.json in your project's root folder

{
   "path": "/files",
   "adminUserName": "admin",
   "adminPassword": "test",
   // the secret is used to generate file names and password hashing
   // on the server. change it for every instance you have of ExpressDrive
   "secret": "somethingsecret", 
   "logo": "/path/to/logo.png",
   "primaryColor": { "h": (0-360), "s": (0-100), "l": (0-100) }
}