MaaP - MongoDB as an Admin Platform
MaaP it's an admin platform for generating administration style interfaces, based on Node.js and MongoDB stack.
Its purpose is to make it simple for developers to implement interfaces for manage business data with ease, providing a DSL that allows you to define the content of your webpages in minutes.
Usage
MaaP is an npm package. Setting up MaaP new Project:
npm install -g maap
maap create project
cd project
npm install
vim config.js
npm start
For more details see First usage from wiki.
Configuration Files
You can edit these configuration files:
config.js # Back-end configuration
app/scripts/config.js # Front-end configuration
collections/*.dsl # DSL configuration File
For more information see New Project configuration from wiki.
Populate test database
For populate the database with test collections, move to ./extra/
directory.
JSON files contain test data.
populate-users-db.sh
and populate-data-db.sh
are scripts that populate the database with example data, To use them on a local database, do:
./populate-users-db.sh --host localhost:27017 --db users
./populate-data-db.sh --host localhost:27017 --db data
For more details see First usage from wiki.
DSL Configuration
Here are a few common configurations for a DSL file:
// ...// ...
For see more details DSL File Configuration and DSL Configuration File Example from wiki.