Global

Members

(constant) APIHelper

api-helper module
Source:

(constant) APIHelper

api-helper module
Source:

(constant) APIHelper

api-helper class module
Source:

(constant) async

async module.
Source:

(constant) Campground

Campground resource class module
Source:

(constant) Campground

Campground resource class module
Source:

(constant) Campground

Campground resource class module
Source:

(constant) Campground

Campground resource class module
Source:

(constant) Campground

Campground resource class module
Source:

(constant) Campground

Campground resource class module
Source:

(constant) CampgroundController

campground-controller module.
Source:

(constant) CloudinaryHelper

cloudinary-helper class module
Source:

(constant) Comment

Comment resource class module
Source:

(constant) Comment

Comment resource class module
Source:

(constant) Comment

Comment resource class module
Source:

(constant) Comment

Comment resource class module
Source:

(constant) Comment

Comment resource class module
Source:

(constant) Comment

Comment resource class module
Source:

(constant) Comment

Comment resource class module
Source:

(constant) CONFIG

Default Value:
  • {"cloud_name":"","api_key":"","api_secret":""}
Source:

(constant) CONFIG

Default Value:
  • {"provider":"google","httpAdapter":"https","apiKey":"","formatter":null}
Source:

(constant) crypto

crypto module.
Source:

(constant) DB_PROVIDER

Default Value:
  • MongoDB
Source:

(constant) DB_PROVIDER

Default Value:
  • MongoDB
Source:

(constant) DB_PROVIDER

Default Value:
  • MongoDB
Source:

(constant) DB_PROVIDER

Source:

(constant) DB_PROVIDER

Default Value:
  • MongoDB
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors module
Source:

(constant) errors

errors class module
Source:

(constant) errors

errors class module
Source:

(constant) express

express module
Source:

(constant) express

express module
Source:

(constant) express

express module
Source:

(constant) express

express module
Source:

(constant) GeneralHelper

general-helper class module
Source:

(constant) GeocoderHelper

geocoder-helper class module
Source:

(constant) middleware

middleware module. If file is not specified than it will require index.js in specified folder
Source:

(constant) middleware

middleware module. If file is not specified than it will require index.js in specified folder
Source:

(constant) middleware

middleware module. If file is not specified than it will require index.js in specified folder
Source:

(constant) middleware

middleware module. If file is not specified than it will require index.js in specified folder
Source:

(constant) mongoose

mongoose module
Source:

(constant) mongoose

mongoose module
Source:

(constant) mongoose

mongoose module
Source:

(constant) mongoose

mongoose module
Source:

(constant) mongoose

mongoose module
Source:

(constant) mongoose

mongoose module
Source:

(constant) mongoose

mongoose module
Source:

(constant) multer

multer module
Source:

(constant) multer

multer module
Source:

(constant) NodeGeocoder

node-geocoder module
Source:

(constant) nodemailer

nodemailer module.
Source:

(constant) Notification

Notification resource class module
Source:

(constant) Notification

Notification resource class module
Source:

(constant) Notification

Notification resource class module
Source:

(constant) Notification

Notification resource class module
Source:

(constant) Notification

Notification class module
Source:

(constant) passport

passport module.
Source:

(constant) passport

passport module.
Source:

(constant) PROVIDER

Default Value:
  • MongoDB
Source:

(constant) PROVIDER

Default Value:
  • MongoDB
Source:

(constant) seedAll

seed-all module
Source:

(constant) Slug

Slug class module
Source:

(constant) staticProperties

Default Value:
  • {"COLLECTION_NAME":"Comment","PRIMARY_KEY":"_id"}
Source:

(constant) staticProperties

Default Value:
  • {"COLLECTION_NAME":"Notification"}
Source:

(constant) staticProperties

Default Value:
  • {"COLLECTION_NAME":"User"}
Source:

(constant) User

User resource class module
Source:

Methods

module:lib/middleware/mongoose/global-pre-hooks(schema, options)

Represents the global pre hooks for Mongoose middleware to protect read-only version of the web-site.
Parameters:
Name Type Description
schema Schema The schema of the resource for which a modification is being attempted.
options Object The options used for modifying the execution of the middleware.
Author:
  • Jose Nicolas Mora
Source:

module:lib/middleware/mongoose/mongoose-middleware(schema, options)

Represents the plugin function middleware used for handling read-only website errors.
Parameters:
Name Type Description
schema Schema The schema of the resource for which a modification is being attempted.
options Object The options used for modifying the execution of the middleware.
Author:
  • Jose Nicolas Mora
Source: