1.1.0 • Published 8 years ago
generator-mean2-app-api v1.1.0
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 yoGetting started
Installing
Clone the repo locally
$ git clone https://xxxxxxxxx@bitbucket.org/Dare-qdigital/generator-mean2-app-api.gitChange directory to generator-mean2-app-api
$ cd generator-mean2-app-apiInstall the project dependencies with npm
$ npm installRun the build and unit test
$ npm startDeveloping
After you have installed all dependencies you can now start developing with:
$ npm start$ npm pack$ npm publishUsage
The package will be avalable on npm registery (https://registry.npmjs.org/)
$ npm install generator-mean2-app-api -g$ yo mean2-app-api