A simple web admin project based on Node.js + Express + AngularJS + MongoDB + Mongoose.
Basically, this is a tutorial project for MEAN(MongoDB+Express+Angular+Node.js).
Simple features:
- Login
- Access Control(just like RBAC)
- User, Role, Action(menu) management
see package.json:
"dependencies": {
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"express": "~4.13.1",
"jade": "~1.11.0",
"mongoose": "^4.1.2",
"morgan": "~1.6.1",
"serve-favicon": "~2.3.0"
}
And there are other dependencies:
- AngularJS(1.4.3)
- UI Bootstrap(0.13.3)
- ngDialog(0.4.0)
- Bootstrap CSS(3.1.1)
I'd add them to project manually. They reside in these directories:
- public/javascripts
- public/stylesheets
The projects was created by express generator, follow the steps:
- express XAdmin
- cd XADmin && npm install
- npm install mongoose --save
But now, you can run "npm install" directly. Mongoose was written in package.json.
Here are some links:
Follow these steps:
- clone the XAdmin project
- cd XAdmin && npm install
- install MongoDB && run it
- npm start