generator-lean-mean

Lean Mean Yeoman generator

Usage no npm install needed!

<script type="module">
  import generatorLeanMean from 'https://cdn.skypack.dev/generator-lean-mean';
</script>

README

generator-lean-mean Build Status

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

The generator will also ask if you want to include

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.

Cons

  • No unit testing. Sorry. Please add those, if you want to.

To Do

Many more subgenerators. This is just a first commit

License

GPL