View on GitHub

Mongobrowser

Web-based MongoDB management tool

Download this project as a .zip file Download this project as a tar.gz file

MongoBrowser

1. Introduction

MongoBrowser is a web-based MongoDB management tool.

2. Prerequisite

3. Installation

$ cd MongoBrowser
$ npm install
$ bower install
$ grunt build

4. Setting up

$ cd MongoBrowser/conf
$ vi config.js
-----
    port: 5056,
    locales: ['en', 'ko'],
    cookie: {
        path : '/',
        httpOnly : true,
        maxAge: 1000 * 60 * 60 * 24
    },
    static: {
        maxAge: 1000 * 60 * 60 * 24
    },
    hosts_file: __dirname + '/../conf/hosts.json',
    connect_options: { // MongoDB connect options
        auto_reconnect: true,
        socketOptions: {connectTimeoutMS: 1000},
        poolSize: 1
    },
    logger: {
        access: {
            category: 'access',
            type: 'dateFile',
            filename: __dirname+'/../logs/mongobrowser-access.log',
            pattern: '-yyyy-MM-dd',
            level: 'DEBUG'
        },
        app: {
            category: 'app',
            type: 'dateFile',
            filename: __dirname+'/../logs/mongobrowser-app.log',
            pattern: '-yyyy-MM-dd',
            level: 'DEBUG'
        }
    }
-----

5. Running It

$ cd MongoBrowser
$ node ./bin/www

6. Screenshot

Main page


7. Reference