Node.js 和 Mongoose 的管理面板

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11409819/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 16:00:47  来源:igfitidea点击:

Admin panel for Node.js and Mongoose

node.jsmongodbmongoose

提问by fer

It's been a while since I'm looking for a Node.js package to provide a clean (but customizable) admin interface to perform CRUD actions on a MongoDB database in a structured manner (allowing trusted users edit their data involving automatic form validation, considering relationships between models, etc).

很久以来我一直在寻找一个 Node.js 包来提供一个干净(但可定制)的管理界面,以结构化的方式在 MongoDB 数据库上执行 CRUD 操作(允许受信任的用户编辑他们的数据,包括自动表单验证,考虑模型之间的关系等)。

It's true it can always be used 3rd party tools to achieve this purpose (like the Django Admin interfaceor Rails Admin).

确实,它始终可以使用 3rd 方工具来实现此目的(如Django 管理界面Rails Admin)。

But I was wondering if there's an already made solution out there running on top of Node.js.

但我想知道是否有一个已经在 Node.js 上运行的解决方案。

Does anyone know a solution of this kind?

有谁知道这种解决方案?

Notethat I'm NOT looking for an interface to access databases, like phpmyadmin or mongoose-admin.

请注意,我不是在寻找访问数据库的界面,例如 phpmyadmin 或 mongoose-admin。

采纳答案by Milos

https://github.com/jedireza/drywall

https://github.com/jedireza/drywall

This seems promising as a good start to an admin panel.

这似乎是管理面板的良好开端。

回答by alekperos

Have a look on this link:

看看这个链接:

https://github.com/wearefractal/smog

https://github.com/wearefractal/smog

... it is a straightforward tool to admin mongoDB from webUI.

...它是一个从 webUI 管理 mongoDB 的简单工具。

it looks pretty good, and may be in near future User based management will be added, but you can extend this to support the features you need.

它看起来不错,可能在不久的将来会添加基于用户的管理,但您可以扩展它以支持您需要的功能。

UPDATE

更新

smogis no longer supported, instead have a look into MongoTron

smog不再支持,而是查看MongoTron

回答by Fran?ois Zaninotto

If your Node.js app exposes a RESTful API, ng-adminis a good solution.

如果您的 Node.js 应用程序公开了 RESTful API,ng-admin是一个很好的解决方案。

Disclaimer: we built it.

免责声明:我们构建了它。

回答by Silvia

We've used http://keystonejs.com/for creating admin UIs.

我们已经使用http://keystonejs.com/创建管理 UI。

回答by Saurabh

We are using Formage (https://github.com/Empeeric/formage) as an admin addon and so far it has worked well for our basic needs. It is a fork from Mongoose-admin.

我们使用 Formage ( https://github.com/Empeeric/formage) 作为管理员插件,到目前为止它已经很好地满足了我们的基本需求。它是来自 Mongoose-admin 的一个分支。

回答by aularon

Check penguin: a module that automatically generates administration pages based on your Mongoose models.

Check penguin:一个基于 Mongoose 模型自动生成管理页面的模块。

回答by Pavel Tiunov

You could take a look at AllcountJS. It's actually not a admin UI tool but rather a framework for rapid business application development. It builds auto-generated UI (grids, forms, etc.) from domain model descriptions in JSON-like format. Provides built-in security and user management. Supports view customization and theming (see extending docs). If you're already using Expressin your application you could integrate them to run in single Node.js instance.

你可以看看AllcountJS。它实际上不是一个管理 UI 工具,而是一个用于快速业务应用程序开发的框架。它从类似 JSON 格式的域模型描述中构建自动生成的 UI(网格、表单等)。提供内置的安全性和用户管理。支持视图自定义和主题化(请参阅扩展文档)。如果您已经在您的应用程序中使用Express,您可以将它们集成到单个 Node.js 实例中运行。

回答by Donald Derek

I'm using https://npmjs.org/package/mongo-expressif you're used to bootstrap you might enjoy it too.

我正在使用https://npmjs.org/package/mongo-express如果你习惯引导你也可能会喜欢它。