MongoDB GUI tool mongo-Edit

Source: Internet
Author: User
Tags node server start node server mongodb gui

Address: https://npmjs.org/package/mongo-edit Installation:NPM install Mongo-Edit

Go to the/mongo-edit/lib directory and modify the config. js file. Because the default 'development' mode is enabled, you can change the name to your own database name to access your database.

Then, Start Node server. js in the mongo-edit directory and access http: // 127.0.0.1: 2762/in the browser/

If it cannot be viewed or the background reports error: Error: argument passed in must be a single string of 12 bytes or a string of 24 hex characters

Because the _ id field of the data is not a 24-Bit String, try to modify the docedit. JS, docdelete. JS, doccreate. JS, and docchange. js contents in the/routes directory.

Req. Params. Id. Length = 24? New objectid (req. Params. ID): Req. Params. ID

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.