messa - mongoose express scaffold with angular.js
messa is an ExpressJS app to scaffold a CRUD UI for your mongoose models built with angular.js
Demo
You can see a live demo here and its source code here
Installation
npm i messa
Usage
messa is an ExpressJS application, as such it can either be used standalone or mounted into an existing application. If you have an existing application which uses mongoose you will most likely want to mount it there.
Mounted
app;
Standalone
;
How it works
messa inspects your mongoose models and automatically generates a UI to perform CRUD operations on them.
The UI is built with angular.js, angular-material and angular-ui-grid.
API
messa(mongoose[, options])
mongoose: a mongoose instance, possibly configured with some models
options: a javascript object
- options.title: custom toolbar title
- options.pageTitle: custom page header title
Returns: an ExpressJS app that you can run or mount into another app
Features
- supports most types of mongoose schemas
- client-side validation based on mongoose validators (where possible)
Limitations
- limited support for Array schema types, except for arrays of nested schemas, which is well supported
Please do not use with production data!
Built on top of these great open source projects
- ExpressJS
- mongoose
- angular.js
- angular-material
- angular-ui-grid