expressdrive

0.5.6 • Public • Published

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) }
}

Readme

Keywords

Package Sidebar

Install

npm i expressdrive

Weekly Downloads

1

Version

0.5.6

License

MIT

Last publish

Collaborators

  • wryte