generator-mean2-app-api
This is a generator for scaffolding a mean2 stack application using Angular, Expressjs, mongoDb. It uses webpack 2 for bundling and minification. Sots (https://bitbucket.org/Dare-qdigital/sots-2) is a good example.
Prerequisite Technologies
- Node.js - Download and Install Node.js, free node tutorials to get you started.
- Git - The easiest way to install git and then run the rest of the commands through the git bash application (via command prompt) is by downloading and installing Git for Windows
Prerequisite packages
- Ensure you're running Node (
v6.x.x
+) and NPM (3.x.x
+)
$ npm install -g yo
Getting started
Installing
Clone the repo locally
$ git clone https://xxxxxxxxx@bitbucket.org/Dare-qdigital/generator-mean2-app-api.git
Change directory to generator-mean2-app-api
$ cd generator-mean2-app-api
Install the project dependencies with npm
$ npm install
Run the build and unit test
$ npm start
Developing
After you have installed all dependencies you can now start developing with:
$ npm start
$ npm pack
$ npm publish
Usage
The package will be avalable on npm registery (https://registry.npmjs.org/)
$ npm install generator-mean2-app-api -g
$ yo mean2-app-api