Skip to content

IbuildingsItaly/mean-workshop-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial app for the MEAN Workshop

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.

Requirements

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)

Usage

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

Branches

  • 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

License

GPLv2

About

MEAN Workshop application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published