/easy_rest

Primary LanguageJavaScriptMIT LicenseMIT

Easy Rest

generic middleware for a mongodb based on expressjs and mongoose exposing a schema driven rest interface. Integrates an upload endpoint for imagery and PDF documents as well as authentication and rights management.

Installation

# install dependencies
npm install

#run dev mode (based on nodemon)
node dev.js

#run production
node server.js

Schema Setup

Schemas are defined as json-schema files in the folder \schemas and then parsed to mongoose model specifications

Authentication / User Management

tbd

Asset Management

tbd