npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mongorilla

v0.0.2

Published

Mongorilla is a simple, clean, and powerful NodeJS based content moderator for MongoDB.

Downloads

6

Readme

What is it?

Mongorilla is a simple CMS / Content Management System for MongoDB. But WAIT! it's something different than you have ever seen in other CMSs.

What makes it different?

Mongoorilla will store your data as it is directly in your Mongo database. What that means? ... No extra metadata, no complex structures, just the data with the structure you want. You only need to define a document structure/schema in a JSON config file, and Mongorilla will render the interface to CRUD rich documents in a simple fashion.

Advantages

  • Mongorilla is written in well known technologies, NodeJS in the backend and Backbone and more in the front.
  • The core functionality is quite simple, all the hard work rely on proved libraries such as Backbone-Forms, Mongoose and many others.
  • Mongorilla supports multidimentional documents and ObjectId references.
  • Mongorilla supports File/Image uploads against the same MongoDB using GridFS.
  • Mongorilla supports rich text editors, CKEditor and Aloha comes out of the box.
  • Mongorilla supports revisioning - rolling back document revisions is very easy!
  • Setup is just to complete a JSON file under the config folder.
  • Customize Mongorilla from the source code is not as terrible as other CMSs, even for tweaking forms, you can create your own editors.

Limitations

  • This CMS is not intended to be public faced. It's just for trusted Content Managers, at least by now and for security reasons.
  • Mongorilla is good for managing static content only. For collections that are managed by your own application and they have a specific business logic, then Mongorilla isn't your solution.

Architecture

The core application is based on NodeJS Express. It has a RESTful API with a unique endpoint which handles all the collections/documents. There's also a web interface and a JS endpoint for retrieve generated (runtime) javascript files such as Backbone Forms definitions and Backbone Model definitions.

Live Example

This example site contains exactly the same source as this repository has. We only pushed to heroku and set up the $MONGORILLA_MONGO_URL env var. The database on this example is stored in MongoHQ and there's no restriction on what you can edit through Mongorilla, so please, be a good person :).

http://mongorilla.herokuapp.com/ credentials: admin / 123 and test / 123

#Installation

  1. Clone this repository: $ git clone https://github.com/gerardobort/mongorilla.git
  2. Install the dependencies: (once in the repository folder) $ npm install
  3. Setup your MongoDB connection: $ export MONGORILLA_MONGO_URL="mongodb://localhost/my_mongorilla"
  4. Run the server instance: $ nodejs server.js
  5. First login: admin / 123
  6. Enjoy!

Roadmap

  • Improve documentation, create "How to start", etc.
  • Enhance the UI, visually and informationally,such as showing the dates better, etc.

Logo