Skip to content
liorkesos edited this page Oct 31, 2014 · 7 revisions

Overview

The way mean can provide fullstack functionality within a single package is by providing server and client (public) functionality within each one of the packages we use in a system

Files

/ app.js                    # main package manifest 
/ README.md                 # Package (markdown rendered) README file
/ package.json              # node dependencies for package
/ bower.json                # client side dependencies for package

Server

/ server
  / config                   # Configuration Files (see below)
  / controllers              # Server side logic goes here
  / models                   # schema models goes here
  / routes                   # rest api endpoints routing - here
  / views                    # swig based html rendering - here

Client

/ public
  / config                   # Configuration Files (see below)
  / controllers              # Client side logic goes here
  / routes                   # Angular routes defined here
  / views                    # Angular views files found here
  / services                 # Angular services files found here
  / directives               # Angular directives files found here
Clone this wiki locally