MEAN Workshop application
The purpose of this app is to guide the user to learn the MEAN stack through a step-by-step development. Every branch represents the state of the app, both for the back-end and the front-end. The back-end is made with NodeJS, ExpressJS and Mongoose for MongoDB. Any kind of generator was used to build the scaffolding structure.
So, the procedure is to switch from a branch to another and develop the app step-by-step, reaching the level situated in the next branch.
To use and work with the app, you need to have installed the following requirements:
- Ruby & Compass (needed to compile sass sources)
- Python & a C++ compiler (needed to node-gyp to build some tools)
- NodeJS
- MongoDB
- Grunt (installed globally with npm. Needed to serve the front-end)
Clone the repo:
$ git clone https://github.com/ibuildingsitaly/mean-workshop-tutorial
$ cd mean-workshop-tutorial
Install back-end dependencies:
$ cd api
$ npm install
$ cd ..
Install front-end dependencies:
$ cd app
$ npm install
$ bower install
$ cd ..
At this point, make sure you have launched your mongo server, then launch the back-end:
$ cd api
$ node index
From another shell, launch the front-end:
$ cd /path/to/repo/
$ cd app/
$ grunt serve
- master: it has the entire app
- fe_0_base: it contains only the configuration for grunt and the index.html generated with yeoman angular-generator
- fe_1_login: it contains the login logic and the logic for the plans page
- fe_2_plans: it contains the plans page logic and the logic for the single plan page
- fe_3_single_plan: it contains the single plan logic and the base for the event page
- fe_4_event: it contains the complete front-end app