Cloned from https://github.com/linnovate/mean
MEAN is a boilerplate that provides a nice starting point for MongoDB, 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.
- Node.js - Download and Install Node.js.
- MongoDB - Download and Install MongoDB - Make sure it's running on the default port(27017).
- Express - Defined as npm module in the package.json file.
- Mongoose - Defined as npm module in the package.json file.
- Passport - Defined as npm module in the package.json file.
- AngularJS - Defined as bower module in the bower.json file.
- Twitter Bootstrap - Defined as bower module in the bower.json file.
- UI Bootstrap - Defined as bower module in the bower.json file.
See the config folder and especially the config.js file.
The quickest way to get started with MEAN is to clone the project and utilize it like this:
Install npm (server side) dependencies:
$ npm install
Install bower (client side) dependencies:
$ bower install
Start the server:
$ node server
Then open a browser and go to:
http://localhost:3000
We pre-included an article example, check it out:
- The Model - Where we define our object schema.
- The Controller - Where we take care of our backend logic.
- NodeJS Routes - Where we define our REST service routes.
- AngularJs Routes - Where we define our CRUD routes.
- The AngularJs Service - Where we connect to our REST service.
- The AngularJs Controller - Where we take care of our frontend logic.
- The AngularJs Views Folder - Where we keep our CRUD views.
Mean presents a growing eco-system of MEAN based modules in the npm repository, To write (and contribute) your own MEAN based module checkout mean-logger for examples.