Mean Stack JS _ Mongo Express
meanstackjs_mongo-express
What is This is a tool for the meanstackjs. It uses mongo-express to give you a web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
Installation
# NPMnpm install meanstackjs_mongo-express --save# YARNyarn add meanstackjs_mongo-express
Usage
// USAGE{self}
Settings
const mongoexpress =mongodb:server: processenvMONGODB_SERVER || mongodbUrihosts0hostport: processenvMONGODB_PORT || mongodbUrihosts0port || 27017useSSL: processenvMONGODB_SSL || falsepoolSize: selfsettingsmongodbsize || 1admin: processenvMONGODB_ENABLE_ADMIN ? processenvMONGODB_ENABLE_ADMIN === 'true' : falseauth:database: processenvMONGODB_AUTH_DATABASE || mongodbUridatabaseusername: processenvMONGODB_AUTH_USERNAME || mongodbUriusernamepassword: processenvMONGODB_AUTH_PASSWORD || mongodbUripasswordadminUsername: processenvMONGODB_ADMINUSERNAME || ''adminPassword: processenvMONGODB_ADMINPASSWORD || ''site:baseUrl: processenvSITE_BASEURL || '/'cookieKeyName: 'mongo-express'cookieSecret: processenvSITE_COOKIESECRET || 'cookiesecret'host: processenvVCAP_APP_HOST || 'localhost'port: processenvVCAP_APP_PORT || 8081requestSizeLimit: processenvREQUEST_SIZE || '50mb'sessionSecret: processenvSITE_SESSIONSECRET || 'sessionsecret'sslCert: processenvSITE_SSL_CRT_PATH || ''sslEnabled: processenvSITE_SSL_ENABLED || falsesslKey: processenvSITE_SSL_KEY_PATH || ''useBasicAuth: processenvBASICAUTH_USERNAME !== ''basicAuth:username: processenvBASICAUTH_USERNAME || 'admin'password: processenvBASICAUTH_PASSWORD || 'pass'options:editorTheme: processenvOPTIONS_EDITORTHEME || 'rubyblue'defaultKeyNames: processenvDEFAULT_KEY_NAMES
License
The MIT License (MIT)
Copyright (c) 2014-2018 Green Pioneer
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Created by