/mongog

Responsive web based MongoDB management interface for Node.JS

Primary LanguageCSSGNU General Public License v2.0GPL-2.0

Mongo-G

Responsive web based MongoDB management interface for Node.JS

Overview

Mongo-G is a standalone Node.JS app built with Express and EJS. It's a GUI wrapper inspired by RockMongo that abstracts common MongoDB functions. Users can manage databases, collections, and documents.

Setup

Download or clone repo.

In the terminal navigate to the directory of Mongo-G:

cd /PATH_TO_MONGOG/mongog-master

Install dependencies with npm:

npm install

Edit mongo-config.js in the config folder to set the port and hostname of MongoDB. Optionally, edit app.js to change the port that you want to run Mongo-G on.

Run Mongo-G with:

node server

Run unit tests with:

mocha

Capabilities

  • Create and drop databases
  • View database stats
  • View all collections and documents in databases
  • Create and drop collections
  • Insert and modify documents
  • View the MongoDB log
  • Admin restricted access

Notes

  • To get started in Mongo-G, you login as an admin, so ensure you have a user with an administrative role in the admin database
  • Currently, user authentication for individual databases is not possible
  • To modify and delete a document, it must have an _id field

Development

  • The responsive UI is built with the Foundation framework
  • All front-end JavaScript and CSS files are concatenated using Grunt to /public/js/script.js and /public/css/style.css. Edit Gruntfile.js to add more stylesheets and JavaScripts. Minification of CSS and JS can also be enabled in this file.

Contact

  • Contact me at HERE for questions or suggestions.

Mongo-G is a work in progress and is intended for development use.