MongoDB Web管理介面Mongo-express介紹,mongodb表設計

來源:互聯網
上載者:User

MongoDB Web管理介面Mongo-express介紹,mongodb表設計
Mongo-express

mongo express 是一個基於Node.js和express的開源的MongoDB Web管理介面。

Github地址:https://github.com/andzdroid/mongo-express

功能

當前功能:

串連多個資料庫分別串連和認證獨立的資料庫認證為管理員查看所有資料庫資料庫 黑名單/白名單集合(collections)的增刪查改文檔(documents)的增刪查改在文檔中使用BSON資料類型
限制
被編輯的文檔必須有document._id屬性無GridFS的支援(有可能成為計劃功能)二進位BSON資料類型沒有經過測試

JSON文檔是通過JavaScript虛擬機器解析,所以可以在伺服器上的Web介面執行惡意JavaScript代碼。

mongo-express只能用於私下的開發。

用法

安裝:

npm install mongo-express

或者全域安裝:

npm install -g mongo-express

或者從Github上直接拿下來解壓後運行npm install即可

配置:

複製或者把config.default.js改名為 config.js的新檔案.

在設定檔中填寫MongoDB的串連等你想更改的資訊。

運行:

node app

使用:

查看 http://localhost:8081 或者你在配置中寫的 URL/port

介面

轉載請註明出處

相關文章

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.