EAN is a boilerplate that provides a nice starting point for Node.js, Express, and AngularJS based applications. It is designed to give you quick and organized way to start developing of MEAN based web apps with useful modules like mongoose and passport pre-bundled and configured. We mainly try to take care of the connection points between existing popular frameworks and solve common integration problems.
Opinionated stack perfect for building large and small angular apps
$ npm install -g bower
$ npm install -g grunt-cli
There are two preset build environments: "dev", "production" Which one is used for build determines the "env" field in package.json.
The quickest way to get started with EAN is to clone the project and then:
$ npm install
$ grunt It is worth noting, that on "production" setting default grunt task is running just `grunt compile` not the server itself
http://localhost:8080 8080 is default port specified in config-dev.json
During install some of you may encounter some issues, most of this issues can be solved by one of the following tips. If you went through all this and still can't solve the issue, feel free to contact me(Amos), via the repository issue tracker or the links provided below.
Sometimes you may find there is a weird error during install like npm's Error: ENOENT, usually updating those tools to the latest version solves the issue.
$ npm update -g npm
$ npm update -g grunt-cli
$ npm update -g bower
NPM and Bower has a caching system for holding packages that you already installed. We found that often cleaning the cache solves some troubles this system creates.
NPM Clean Cache:
$ npm cache clean
Bower Clean Cache:
$ bower cache clean
All configuration is specified in the config folder, particularly the config.js file and the env files. Here you will need to specify your application name, database name, as well as hook up any social app keys if you want integration with Twitter, Facebook, GitHub or Google.
TODO write up on settings
To run with a different environment, just rewrite "env" in package.json to the enviroment you want.
Forked from mean.io project, also inspired by ng-boilerplate.