Responsive web based MongoDB management interface for Node.JS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
controllers
middlewares
models
public
test
views
Gruntfile.js
LICENSE
README.md
app.js
package.json
server.js

README.md

Mongo-G

Responsive web based MongoDB management interface for Node.JS

Watch Video Demo

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.