Awesome
generator-lean-mean
Yeoman generator
Getting Started
What is Generator Lean Mean?
After using generator-angular-fullstack, I searched for a generator that used Stylus and gulp.
I ended up even preferring the "modular" code organization pattern (link). I moved some folders around and ended up with a clean generator that uses:
The MEAN Stack
- MongoDB, leading NoSQL database;
- Express, for backend routing;
- AngularJS, the Superheroic MVW framework for Javascript;
- Node, the backend engine that runs on Javascript;
Plus these, for personal preferences
- gulp for building;
- Stylus, for styling;
- Coffeescript, for scripting (frontend and backend!);
- Jade, for templating;
The generator will also ask if you want to include
- Metro UI CSS, a great UI; OR
- Bootstrap, which doesn't need introduction; OR
- Angular Material, A great UI material design library for AngularJs;
- FontAwesome, for even more icons;
- MongooseJS, elegant mongodb object modeling for node.js;
And ask if you'd like to include a top Navbar
Setup
To install generator-lean-mean from npm, run:
$ npm install -g generator-lean-mean
Finally, initiate the generator:
$ yo lean-mean
Subgenerators
front-module
$ yo lean-mean:front-module
Creates an Angular view and controller, and optionally adds it to the Navbar.
Testing
$ gulp test:frontend
To Do
- backend testing task;
- Many more subgenerators;
License
GPL