{"_id":"mongo-edit","_rev":"44-e38bdbce147223f96b5c638a61445475","name":"mongo-edit","description":"Dead simple GUI for editing MongoDB documents","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"mongo-edit","version":"0.1.0","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["MongoDB","GUI","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.0rc5","mongodb":"1.2.5"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface. It's a perfect fit for people working with an ODM, for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a> which is in charge of the administration.\n\n## What does it do?\n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection`\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The parameters are:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR.\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.1.0","dist":{"shasum":"2ccc3596ebebfd0289352a9fa8e72f1b253b1a65","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.1.0.tgz","integrity":"sha512-M1rTlRMiXmBg4gwFHZELdLDj8U05ZH13CzpNKYbUomBbrDl+mbqfD4NeW/tSFoleErxnST6v+dgaq3NB/BtDNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcAJ/73izbp3BNktwBRpyKYrEne0HhSKBF19Dr3DgnDAiAV7MXADOweNztaR4Meu9i+DgUECcG234wAyHF7FHKtJA=="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"directories":{}},"0.1.1":{"name":"mongo-edit","version":"0.1.1","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["MongoDB","GUI","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.0rc5","mongodb":"1.2.5"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface. It's a perfect fit for people working with an ODM, for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a> which is in charge of the administration.\n\n## What does it do?\n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection`\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The parameters are:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR.\n\n## Contributors\n    project: mongo-edit\n    commits: 78\n    active : 10 days\n    files  : 114\n    authors: \n    78  Louis Chatriot          100.0%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.1.1","dist":{"shasum":"8b70eca173db9317cbc1aa238a473ee53be30dc0","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.1.1.tgz","integrity":"sha512-ThOKSCqBdpbZxvzPcNF21M+Y3da/pPGKOyAx+5+mxlXWw8GpOILKQJxEGYGDdJnW5+t6A+oOqjA9Hc1jsDEzCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSUQNn4tStV/is6G7pEsvUKmOWG5Hl/+vddBNQkYlpsAIhAK4jHVNMfaLdfDjeGHwET2ow2JDKA/LRp+3U0i/BwBRA"}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"directories":{}},"0.2.0":{"name":"mongo-edit","version":"0.2.0","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["MongoDB","GUI","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.0rc5","mongodb":"1.2.5"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface. It's a perfect fit for people working with an ODM, for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a> which is in charge of the administration.\n\n## What does it do?\n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection`\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The parameters are:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR.\n\n## Contributors\n    project: mongo-edit\n    commits: 78\n    active : 10 days\n    files  : 114\n    authors: \n    78  Louis Chatriot          100.0%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.2.0","dist":{"shasum":"237b1dc21d7d351cdaa6b00ffb50552dff92c4d5","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.2.0.tgz","integrity":"sha512-4AmJzdi4W70p5qqSAeEUEIEWUCigfmnaHDZm5cfkSAnWg7jzlLl+YnroXR8Fdfjkg/EjHwO9jrZ097P6TCzZ3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGL6QdtK9AQWqDDYPnlD8bpZr4UayqFGTK2JB5a/EquQAiB/sSebky1CcEkHANYKSx7vS3oSh1cO2RvM4BDszXLpKA=="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"directories":{}},"0.3.0":{"name":"mongo-edit","version":"0.3.0","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.0rc5","mongodb":"1.2.5"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The parameters are:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR.\n\n## Contributors\n    project: mongo-edit\n    commits: 78\n    active : 10 days\n    files  : 114\n    authors: \n    78  Louis Chatriot          100.0%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.3.0","dist":{"shasum":"418f0a794f05845ad9cc036d985234c07f3a4b54","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.3.0.tgz","integrity":"sha512-ilQetkUboyPiE3zERxJR9NgrPOPkns/KPORp0hfII+Pq6mxd0ytYi1R6gX2KF3KwV/P8ffm03oXKtTf/M+ClfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCDheyErzfax9n0Uz2NQ2f4V0n9YaTBZqOqyds7AeUvAiEAqkfO5y5/zR5QsEXeyOto8z8XyglRM2tHfzsoPjlArlg="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"directories":{}},"0.3.1":{"name":"mongo-edit","version":"0.3.1","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>.\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The parameters are:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR.\n\n## Contributors\n    project: mongo-edit\n    commits: 112\n    active : 17 days\n    files  : 119\n    authors: \n    112  Louis Chatriot          95.5%\n      4  Raymond Feng            3.6%\n      1  Stanislas Marion        0.9%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.3.1","dist":{"shasum":"cda38507e5cda97c1e297359739f6340e6f5ea96","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.3.1.tgz","integrity":"sha512-X9OeojsSrx9ChgxQvW8vwvcvR9dovHW4Kn6HMOv2sKxbtQ8JdKmIyWE7WlfPNTUc0kC0dUFNVrQlx6euxSShxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC7M85SS/gIsLqJ6/MqxMDHxsGltpGFAk9sUqjPrNFbgAiAzRv0kYM1b0Kp1vFa4ThTMWSrjxWVbKqppfOwkCWKN6g=="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"directories":{}},"0.3.2":{"name":"mongo-edit","version":"0.3.2","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>.\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The parameters are:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR.\n\n## Contributors\n    project: mongo-edit\n    commits: 112\n    active : 17 days\n    files  : 119\n    authors: \n    112  Louis Chatriot          95.5%\n      4  Raymond Feng            3.6%\n      1  Stanislas Marion        0.9%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.3.2","dist":{"shasum":"66720b239aa030c5a1edce0daffd7fb75eaa2828","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.3.2.tgz","integrity":"sha512-ZDf088FEjPSrZBlfCFuLI2GTm/fuTazOnCZD173aVWuwE0Qy/LurvlqkjoPFqo13Q2ej1xrAeDU3/dKDZUklUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf3JeXpG/4GE7dNvVL8s1TKYBcY5VRuzD2MDKhDVBhqQIgJE7O+0rHpzcv0lZV6FO8GA/0HDGtVMnWYR0px1UIGKQ="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"directories":{}},"0.4.0":{"name":"mongo-edit","version":"0.4.0","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>.\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \nYou can also do it this way: `git clone git@github.com:tldrio/mongo-edit.git` and then `npm install` in the created directory.  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The comments in it explain what the parameters are. Here is a summary:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `db.username` and `db.password`: these are optional. If they are set, Mongo Edit will authentify itself as the given user and throw an error if the credentials are invalid.\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests and bugfixes\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR. And of course please do so if you find a bug :)\n\n## Contributors\n    project: mongo-edit\n    commits: 112\n    active : 17 days\n    files  : 119\n    authors: \n    112  Louis Chatriot          95.5%\n      4  Raymond Feng            3.6%\n      1  Stanislas Marion        0.9%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.4.0","dist":{"shasum":"b8a57ceb02a7708c03e99e1adea337d14652ed2c","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.4.0.tgz","integrity":"sha512-X4kskDM2WJEEr/a8N0B21KXSRC5CGkREiD8O8luxDpl+5v9kBRXnE1VXnahl7uGfPKAi7qJOVGxTt7gj+N1eIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUY7nTdp9B9rS+yesvmT9xfZGLZRNmDT7ZVych/jmEYQIhAInKeHyxLUJlc9+l+3G/XXovffTG8AHNQQ32HMTO5JCe"}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"directories":{}},"0.5.0":{"name":"mongo-edit","version":"0.5.0","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>.\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install, configure and run\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \n\n### Preferred method: clone the repo and use an external config file\n**1)** Install with a simple `git clone git@github.com:tldrio/mongo-edit.git` and then `npm install` in the created directory.  \n**2)** Create a config file in the `config` directory (there is a `sampleConfig.js` that explains the parameters and shows an example).  \n**3)** Run with `node server.js config/yourConfigFile.js`  \n**4)** Whenever you want to update Mongo Edit, a simple `git pull` will do the trick. The config directory is gitignored (except the example file) so your config will be preserved\n\n### Alternatively, you can use npm\n**1)** Install Mongo Edit in one command: `npm install mongo-edit`  \n**2)** Modify one of the default configurations in the file `lib/config.js` (which also explains all parameters)  \n**3)** Run with `NODE_ENV=yourEnv node server.js` to run with default config `yourEnv` or simply `node server.js` to run with the default environment (called 'development')  \n\nYou can't update easily with this method though, you would need to `npm install` Mongo Edit somewhere else and copy paste your modified `lib/config.js` to restore your config\n\n### Config parameters\nEverything is explain in `lib/config.js`, here is a summary:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `db.username` and `db.password`: these are optional. If they are set, Mongo Edit will authentify itself as the given user and throw an error if the credentials are invalid.\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\n## Running Mongo Edit in production\nIf you run Mongo Edit in production, be aware that it doesn't provide you with any security and will accept connections from anyone. Make sure to **run it behind your reverse proxy, and protected with a Basic Auth over SSL**.\n\n\n## Feature requests and bugfixes\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR. And of course please do so if you find a bug :)\n\n## Contributors\n    project: mongo-edit\n    commits: 135\n    active : 23 days\n    files  : 121\n    authors: \n    129  Louis Chatriot          95.6%\n      4  Raymond Feng            3.0%\n      1  HeroicYang              0.7%\n      1  Stanislas Marion        0.7%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.5.0","dist":{"shasum":"6b3c6a3393eb5854131c2012f0be8a382b886b04","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.5.0.tgz","integrity":"sha512-0geGgT3fhg5ecg1hl12Lja0G5jhLnxw0si/wAkIA/0wGSNGyYMryUuhlTmjQfn8gGRqUPqXl2uqwe4JIIAhVsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpiWMZGd2yz7kVMIgpCJS1rlR2XMagjPAFhFTz195hFAIhAIPcbINJ+UMbMowHfb90PfoQH0m8Ro9HISqB9zu6JKu9"}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}]},"0.5.1":{"name":"mongo-edit","version":"0.5.1","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>.\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install, configure and run\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \n\n### Preferred method: clone the repo and use an external config file\n**1)** Install with a simple `git clone git@github.com:tldrio/mongo-edit.git` and then `npm install` in the created directory.  \n**2)** Create a config file in the `config` directory (there is a `sampleConfig.js` that explains the parameters and shows an example).  \n**3)** Run with `node server.js config/yourConfigFile.js`  \n**4)** Whenever you want to update Mongo Edit, a simple `git pull` will do the trick. The config directory is gitignored (except the example file) so your config will be preserved\n\n### Alternatively, you can use npm\n**1)** Install Mongo Edit in one command: `npm install mongo-edit`  \n**2)** Modify one of the default configurations in the file `lib/config.js` (which also explains all parameters)  \n**3)** Run with `NODE_ENV=yourEnv node server.js` to run with default config `yourEnv` or simply `node server.js` to run with the default environment (called 'development')  \n\nYou can't update easily with this method though, you would need to `npm install` Mongo Edit somewhere else and copy paste your modified `lib/config.js` to restore your config\n\n### Config parameters\nEverything is explain in `lib/config.js`, here is a summary:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `db.username` and `db.password`: these are optional. If they are set, Mongo Edit will authentify itself as the given user and throw an error if the credentials are invalid.\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\n## Running Mongo Edit in production\nIf you run Mongo Edit in production, be aware that it doesn't provide you with any security and will accept connections from anyone. Make sure to **run it behind your reverse proxy, and protected with a Basic Auth over SSL**.\n\n\n## Feature requests and bugfixes\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR. And of course please do so if you find a bug :)\n\n## Contributors\n    project: mongo-edit\n    commits: 135\n    active : 23 days\n    files  : 121\n    authors: \n    129  Louis Chatriot          95.6%\n      4  Raymond Feng            3.0%\n      1  HeroicYang              0.7%\n      1  Stanislas Marion        0.7%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.5.1","dist":{"shasum":"31546a1d61546d006373ab73a9a179dfe2f5e1aa","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.5.1.tgz","integrity":"sha512-t+QsJIa7kUsraveVb01n7UWMFFspqEEXdOO86tmuNXllXsz8mFxmnSmtniFa3LLpPR3Jz+Uy/diKuYspRqX0aQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPCz55yvkkV27huABHuHibw0YqK4mmblZXkhVB6RGmrAiEAnAn5YEECKjTGNTk/gDclHgkTQ8rMiLeOS82gMNgZ4lw="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}]},"0.5.2":{"name":"mongo-edit","version":"0.5.2","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install, configure and run\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \n\n### Preferred method: clone the repo and use an external config file\n**1)** Install with a simple `git clone git@github.com:tldrio/mongo-edit.git` and then `npm install` in the created directory.  \n**2)** Create a config file in the `config` directory (there is a `sampleConfig.js` that explains the parameters and shows an example).  \n**3)** Run with `node server.js config/yourConfigFile.js`  \n**4)** Whenever you want to update Mongo Edit, a simple `git pull` will do the trick. The config directory is gitignored (except the example file) so your config will be preserved\n\n### Alternatively, you can use npm\n**1)** Install Mongo Edit in one command: `npm install mongo-edit`  \n**2)** Modify one of the default configurations in the file `lib/config.js` (which also explains all parameters)  \n**3)** Run with `NODE_ENV=yourEnv node server.js` to run with default config `yourEnv` or simply `node server.js` to run with the default environment (called 'development')  \n\nYou can't update easily with this method though, you would need to `npm install` Mongo Edit somewhere else and copy paste your modified `lib/config.js` to restore your config\n\n### Config parameters\nEverything is explain in `lib/config.js`, here is a summary:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `db.username` and `db.password`: these are optional. If they are set, Mongo Edit will authentify itself as the given user and throw an error if the credentials are invalid.\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\n## Running Mongo Edit in production\nIf you run Mongo Edit in production, be aware that it doesn't provide you with any security and will accept connections from anyone. Make sure to **run it behind your reverse proxy, and protected with a Basic Auth over SSL**.\n\n\n## Feature requests and bugfixes\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR. And of course please do so if you find a bug :)\n\n## Contributors\n    project: mongo-edit\n    commits: 135\n    active : 23 days\n    files  : 121\n    authors: \n    129  Louis Chatriot          95.6%\n      4  Raymond Feng            3.0%\n      1  HeroicYang              0.7%\n      1  Stanislas Marion        0.7%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.5.2","dist":{"shasum":"0fea5809d990f2ac3a36ddcf368f79c7754d7f9e","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.5.2.tgz","integrity":"sha512-eZtv+u1236K51MpiUAwuSfd+CBVGmCMNUn5dvY50Os67rcYrrbVQY73mwNLWdFqkqzLw4FpTTa02CDfa1AZQvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbsuHN1UByZEDPrDefGam39S+RFvzBsFiSZd0ZompWOAiAXvRLiNqEBbZ55Lsn7zh3sGzMrJTnzW5JVWM7NaMHmIA=="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}]},"0.5.3":{"name":"mongo-edit","version":"0.5.3","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"main":"server","licence":"MIT","scripts":{"start":"node server.js"},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install, configure and run\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \n\n### Preferred method: clone the repo and use an external config file\n**1)** Install with a simple `git clone git@github.com:tldrio/mongo-edit.git` and then `npm install` in the created directory.  \n**2)** Create a config file in the `config` directory (there is a `sampleConfig.js` that explains the parameters and shows an example).  \n**3)** Run with `node server.js config/yourConfigFile.js`  \n**4)** Whenever you want to update Mongo Edit, a simple `git pull` will do the trick. The config directory is gitignored (except the example file) so your config will be preserved\n\n### Alternatively, you can use npm\n**1)** Install Mongo Edit in one command: `npm install mongo-edit`  \n**2)** Modify one of the default configurations in the file `lib/config.js` (which also explains all parameters)  \n**3)** Run with `NODE_ENV=yourEnv node server.js` to run with default config `yourEnv` or simply `node server.js` to run with the default environment (called 'development')  \n\nYou can't update easily with this method though, you would need to `npm install` Mongo Edit somewhere else and copy paste your modified `lib/config.js` to restore your config\n\n### Config parameters\nEverything is explain in `lib/config.js`, here is a summary:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `db.username` and `db.password`: these are optional. If they are set, Mongo Edit will authentify itself as the given user and throw an error if the credentials are invalid.\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\n## Running Mongo Edit in production\nIf you run Mongo Edit in production, be aware that it doesn't provide you with any security and will accept connections from anyone. Make sure to **run it behind your reverse proxy, and protected with a Basic Auth over SSL**.\n\n\n## Feature requests and bugfixes\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR. And of course please do so if you find a bug :)\n\n## Contributors\n    project: mongo-edit\n    commits: 135\n    active : 23 days\n    files  : 121\n    authors: \n    129  Louis Chatriot          95.6%\n      4  Raymond Feng            3.0%\n      1  HeroicYang              0.7%\n      1  Stanislas Marion        0.7%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongo-edit@0.5.3","dist":{"shasum":"11add4308c8d0fca740cdc80f1b95299f7cedb7c","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.5.3.tgz","integrity":"sha512-YA+WtYcl5svox9rPa1J3AcCAtNdE+TFyVhs5D5Vrm9Jh8QkGFJJRAHB+FhvutJFP44ys6LL3irvT8S3gIML26Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfwVd7O8MXoK5dy0sx89dQLOL91XzUh8fj9VmgBnQATAIgdGDPUt/rbBBed6c/K3g1T9TSobhkIlV9SMQMpaB1e2M="}]},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}]},"0.6.0":{"name":"mongo-edit","version":"0.6.0","author":{"name":"tldr.io","email":"meta@tldr.io"},"contributors":[{"name":"Louis Chatriot"}],"description":"Dead simple GUI for editing MongoDB documents","keywords":["mongodb","mongo","edit","gui","simple"],"homepage":"https://github.com/tldrio/mongo-edit","repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"dependencies":{"h4e":"0.3.0","express":"3.0.6","mongodb":"1.2.9","async":"~0.2.7"},"devDependencies":{"chai":"1.0.x","mocha":"1.4.x","request":"2.9.x","sinon":"1.3.x"},"scripts":{"test":"make test","start":"node server.js"},"main":"server","licence":"MIT","readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface, as well as create and delete documents and collections It's a perfect fit for people working with an ODM (for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a>) which is in charge of the administration.\n\nWe use it in production at <a href=\"http://tldr.io/\" target=\"_blank\">tldr.io</a>\n\n## What does it do?\nIt allows you to create, edit and delete documents, as well as create and delete collections. Here are the URLs used in the GUI, to which you can link within your application to directly perform the corresponding operations:  \n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection` (in reverse chronological order, earliest on top)\n* `/:collection/new` creates a new collection with name `:collection`\n* `/:collection/newDocument` creates a new document in collection `:collection`. All indexed/unique fields are pre-populated with a random string so that it can be saved right away\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n* `/:collection/delete`: delete `:collection`. Beware, it won't ask for confirmation if the URL is called directly. It will only ask if you click the \"Delete collection\" button when on page `/:collection`.\n* `/:collection/:id/delete`: delete document with _id `:id` in `:collection`. As for the above route, the GUI will ask for confirmation if you click the \"Delete\" button in the \"edit a document\" view but not if you call the URL directly.\n\n## Install, configure and run\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \n\n### Preferred method: clone the repo and use an external config file\n**1)** Install with a simple `git clone git@github.com:tldrio/mongo-edit.git` and then `npm install` in the created directory.  \n**2)** Create a config file in the `config` directory (there is a `sampleConfig.js` that explains the parameters and shows an example).  \n**3)** Run with `node server.js config/yourConfigFile.js`  \n**4)** Whenever you want to update Mongo Edit, a simple `git pull` will do the trick. The config directory is gitignored (except the example file) so your config will be preserved\n\n### Alternatively, you can use npm\n**1)** Install Mongo Edit in one command: `npm install mongo-edit`  \n**2)** Modify one of the default configurations in the file `lib/config.js` (which also explains all parameters)  \n**3)** Run with `NODE_ENV=yourEnv node server.js` to run with default config `yourEnv` or simply `node server.js` to run with the default environment (called 'development')  \n\nYou can't update easily with this method though, you would need to `npm install` Mongo Edit somewhere else and copy paste your modified `lib/config.js` to restore your config\n\n### Config parameters\nEverything is explain in `lib/config.js`, here is a summary:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `db.username` and `db.password`: these are optional. If they are set, Mongo Edit will authentify itself as the given user and throw an error if the credentials are invalid.\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\n## Running Mongo Edit in production\nIf you run Mongo Edit in production, be aware that it doesn't provide you with any security and will accept connections from anyone. Make sure to **run it behind your reverse proxy, and protected with a Basic Auth over SSL**.\n\n\n## Feature requests and bugfixes\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR. And of course please do so if you find a bug :)\n\n## Contributors\n    project: mongo-edit\n    commits: 135\n    active : 23 days\n    files  : 121\n    authors: \n    129  Louis Chatriot          95.6%\n      4  Raymond Feng            3.0%\n      1  HeroicYang              0.7%\n      1  Stanislas Marion        0.7%\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n","readmeFilename":"README.md","_id":"mongo-edit@0.6.0","dist":{"shasum":"2e009bc53488decfdc8afc4a5e45cacacb36f6a9","tarball":"https://registry.npmjs.org/mongo-edit/-/mongo-edit-0.6.0.tgz","integrity":"sha512-yjwTnBS9ps5VnwgpbKQeD+/WeyO6BOtjc4C8RRUjtrtdCikQTwMnC9SdX7rz1420t+hPWnrjP6K3n63W/AN8ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJdMLSAdxTIZ1d+OQSQzqti92SlNgahJC6pv88Bfx1/AiEAk8eidg6rsUWkfZNnqS2O0fkoBHoYelraR+HzhxxoT3E="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"tldr.io","email":"meta@tldr.io"},"maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}]}},"readme":"Mongo Edit\n=========\n\nDead simple Graphical User Interface for MongoDB.\nThis is NOT a complete admin UI, just a way to edit documents manually with a user-friendly interface. It's a perfect fit for people working with an ODM, for example <a href=\"https://github.com/LearnBoost/mongoose\" target=\"_blank\">Mongoose</a> which is in charge of the administration.\n\n## What does it do?\n* `/` shows the list of all collections\n* `/:collection` shows the contents of `collection`\n* `/:collection/:id/edit` shows a web-based editor (<a href=\"https://github.com/ajaxorg/ace\" target=\"_blank\">Ace</a>) so that you can change the contents of the `collection`'s document with id `id`. The document is shown as a Javascript object that will replace the current one in the database when you save it. The editor features syntax highlighting and checking. An image being worth a thousands words, here is a screenshot:  \n\n<img src=\"https://raw.github.com/tldrio/mongo-edit/master/assets/mongoEdit.png\" alt=\"mongo edit screenshot\">\n\n## Install and configure\nPrerequisite: <a href=\"https://github.com/joyent/node\" target=\"_blank\"><b>Node.js</b></a> should be installed  \nInstall Mongo Edit in one command: `npm install mongo-edit`  \n\nThe config file, `/lib/config.js` needs to be modified to fit your situation. The parameters are:  \n* `db.host`, `db.port`, `db.name`: what database to connect to. It is assumed that you run in a trusted environment and don't need password to access the database (this should be the case for all developpement machines and most production machines with a restrictive firewall).\n* `svPort`: the port on which the webserver will run.\n* `trustProxy`: needs to be set to `true` if Mongo Edit is run behind a reverse proxy such as Nginx. If you run Mongo Edit in production and it is accessible from the outside, **this should be the case**. Obviously, it should be protected by a BasicAuth over SSL.\n* `pagination`: the parameters for the pagination when showing the contents of a collection. The defaults should be fine.\n\nYou can define different environments (the original config file has 'development' and 'production'). By default, the development environment is used, to user another run `NODE_ENV=the_environment node server.js`.\n\n## Run\nRun with `node server.js`, or `NODE_ENV=env node server.js` if you don't want to use the default environment. It will then run on the port defined in the config (e.g. with the original config and on my development machine, it runs on `localhost:2762`).  \n\nIf you run Mongo Edit in production, **run it behind your reverse proxy, and protected with a Basic Auth on SSL**.\n\n\n## Feature requests\nWe want Mongo Edit to remain super simple, there are already plenty complete admin UIs out there. Still, if you think something is missing don't hesitate to drop us an issue or a PR.\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 tldr.io &lt;hello@tldr.io&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"tldr.io","email":"meta@tldr.io"}],"time":{"modified":"2022-06-20T05:45:33.721Z","created":"2013-01-03T17:30:46.825Z","0.1.0":"2013-01-03T17:30:50.247Z","0.1.1":"2013-01-09T18:14:34.598Z","0.2.0":"2013-01-11T09:08:14.702Z","0.3.0":"2013-01-15T09:07:12.210Z","0.3.1":"2013-01-16T17:16:54.624Z","0.3.2":"2013-01-17T10:08:37.973Z","0.4.0":"2013-01-25T18:40:58.987Z","0.5.0":"2013-01-27T11:34:40.385Z","0.5.1":"2013-01-27T14:39:01.152Z","0.5.2":"2013-01-30T08:40:12.276Z","0.5.3":"2013-02-03T19:10:44.932Z","0.6.0":"2013-05-24T12:27:31.362Z"},"author":{"name":"tldr.io","email":"meta@tldr.io"},"repository":{"type":"git","url":"git://github.com/tldrio/mongo-edit"},"users":{"marktm":true}}