/mean-starter

Modern EAN stack maintain by Joe Lee

Primary LanguageJavaScriptMIT LicenseMIT

MEAN-STARTER

This project using Mongo DB / Express / Angular-Cli / NodeJS for web application development.

Index

Development Enviroment Setup

  1. Install MongoDB - NoSql Database (This is optional , if you're sure you don't need a database)
  2. Install Node.js - Server

To check if you have installed NodeJs , open your Terminal (MAC) or CMD (Windows), you should able to see your node version. I recommend you using LTS version of NodeJs

$ node -v
v6.9.2
  1. Install Angular-Cli - Front-end frame-work for building Single Page Application
$ npm install -g @angular/cli
  1. Install Gulp - Automate web work-flow
$ npm install -g gulp

Getting Start

Open your terminal and locate to the mean-starter project folder and install the dependencies by using :

$ npm install 

Run gulp to start the node server :

$ gulp

Another Terminal , run :

$ ng build -w

This allows angular-cli to compile your angular application into dist folder.

If you need Mongo DB :

$ mongod

After installed mongodb in your compuer , you should put it into env-path.