Project

mongo_fe

0.0
No commit activity in last 3 years
No release in over 3 years
A simple Sinatra based web front-end that can be used for experimenting and learning MongoDB. The MongoFe gem can also be used for simple administrative tasks, managing collections and document basic operations such as: create new documents, delete existing ones, search by various criteria and document indexing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.4.1
~> 1.1.0
~> 1.1.2
>= 0
>= 0.4.2
~> 0.7.3
~> 2.9

Runtime

~> 2.1.0
~> 1.3.2
~> 1.3.0
~> 0.1.11
>= 0
~> 0.6.7
~> 1.0.5
~> 3.1.4
>= 0
>= 0
~> 1.6.2
 Project Readme

MongoFe

This is a simple Sinatra based web front-end that can be used for experimenting and learning MongoDB. The MongoFe gem can also be used for simple administrative tasks, managing collections and document basic operations such as: create new documents, delete existing ones, search by various criteria and document indexing.

Installation

$ gem install mongo_fe

Credentials

Create a file in your home directory called: .mongo_fe

In this file add the following:

uri: mongodb://localhost:27017

Examples:

uri: mongodb://nemo:clownfish@ds02231897.mongolab.com:33897/Reef

Usage

Verify first that you have access to a MongoDB instance. See the install guides, if need be. I used the Homebrew package manager to install mongodb. If you have Homebrew, run the following commands:

$ brew update
$ brew install mongodb

To start the MongoFe web server:

$ mongofe

or you can start the web server pointing it to a remote MongoDB url, example:

$ mongofe -C mongodb://sheppard:arterius@masseffect3.mongolab.com:33897/datamelee
$ mongofe -C mongodb://Genetically:Enhanced@"spiritual_successor.mongohq.com:10075/BioShock

(fictive links, real syntax)

MongoFe works well with remote MongoDB instances, see: mongolab.com or mongohq.com, for example.

To stop the server:

$ mongofe -K

Screenshots

In the mean time, I'd love for you to check out these screenshots to get a feel for MongoFe and see some of the administrative interfaces designed to make your day to day tasks easier.

database info Database info

documents query and management Documents view

index management Indexes view

Have fun!

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Add some tests and please make sure they pass
  • Commit your changes (git commit -am 'Added some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

License

MIT License