# mongoose-manager

> A generic admin interface for node.js applications that use mongoose.

Latest version **0.1.17** (published 2017-02-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install mongoose-manager
pnpm add mongoose-manager
yarn add mongoose-manager
bun add mongoose-manager
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.17 |
| Published | 2017-02-02 |
| First published | 2014-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+14 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Laurent VB |
| Maintainers | laurentvb |

## Links

- npm: https://www.npmjs.com/package/mongoose-manager
- Repository: https://github.com/LaurentVB/mongoose-manager
- Homepage: https://github.com/LaurentVB/mongoose-manager#readme
- Issues: https://github.com/LaurentVB/mongoose-manager/issues
- npm.io page: https://npm.io/package/mongoose-manager

## Dependencies (8)

- [ejs](https://npm.io/package/ejs.md) 0.8
- [async](https://npm.io/package/async.md) 0.2
- [moment](https://npm.io/package/moment.md) 2.2
- [express](https://npm.io/package/express.md) 3
- [pluralize](https://npm.io/package/pluralize.md) 0.0.9
- [ejs-locals](https://npm.io/package/ejs-locals.md) 1.0
- [underscore](https://npm.io/package/underscore.md) 1.5
- [connect-flash](https://npm.io/package/connect-flash.md) ^0.1.1

## Recent versions

- 0.1.17 (latest) — 2017-02-02
- 0.1.16 — 2017-02-02
- 0.1.15 — 2014-07-02
- 0.1.14 — 2014-07-01
- 0.1.13 — 2014-06-30
- 0.1.12 — 2014-05-07
- 0.1.11 — 2014-04-17
- 0.1.10 — 2014-04-14
- 0.1.9 — 2014-04-14
- 0.1.8 — 2014-04-11
- 0.1.7 — 2014-04-11
- 0.1.6 — 2014-04-11
- 0.1.5 — 2014-03-20
- 0.1.4 — 2014-03-18
- 0.1.2 — 2014-03-13
- … 2 more at https://npm.io/package/mongoose-manager/versions

## README

# mongoose-manager

A generic admin interface for node.js applications that use mongoose.

# Warning

This module is not mature and is not actively developed nor maintained anymore. Usage is not recommended.
Check [http://www.forestadmin.com/](http://www.forestadmin.com/) for an instant, powerful and fully configurable admin interface.

## Usage

### Basic usage

```js
var Admin = require('mongoose-manager').Admin;
var models = [
    {
        model: require('./models/Artist').Artist,
        label: function(artist){ return artist.name }
    },
    require('./models/Label').Label,
    require('./models/Record').Record
];
var options = {
    secret: 'a secret string to use for cookie encryption' // replace this by a specific string for your app
};
var admin = new Admin(models, options);

// an express app is now available in admin.app
admin.app.listen(8080, function(){
    console.log('Example app running on %s', 8080);
});
```

### Adding extra menus
You can add your own entries to the index menu:

```js
admin.extraMenu('The menu text', 'http://google.com');
```

### Note
Thanks to @madhums for handing over the module name

---
_Source: https://npm.io/package/mongoose-manager · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
