Getting Started with MEAN.js

Recently am into Javscript development like node, angular etc. And i came across this awsome stack just like WAMP . It's called MEAN and am so much excited about this stack. MEAN stands for 

  • Mongodb]- The Database
  • Express - The serverside framework
  • Angular - The Client side MVC framework
  • Node.js - the server or the server side runtime
There are two major MEAN generators availbale , MEAN.js and MEAN.io . Both gives a kickstart  in MEAN development. But note than MEAN stack development is possible without these. 

Both are theoratically same and uses same technologies and also developed by same guy, Amos Haviv. Am write down my "Getting started" experience with MEAN.js. 

For MEAN.js you need these technologies installed.

  1. Node.js
  2. Git
  3. Mongodb
After installing these , open a terminal and type:

npm install -g grunt-cli

Next Install bower

npm install -g bower

Next install yeomen generator

npm install -g generator-meanjs

So the Installation all over. Make sure mongod service running and don't forget to add the mongo bin folder to path. Please note that am using windows .

Okay so we have setup our development environment now switch to development.
First you need to create a project folder and create the app

mkdir TestApp && cd TestApp

Now you are inside the app folder create the app, it will automatically install necessory packages and will setup the development environment.

yo meanjs

Here a couple of question will be asked like name ,description etc. You need to select which of the Angular js modules also.

After setup start the server

grunt

Check the app in browser http://localhost:3000/
You will see the app like this :

So you first app is ready now. Will make another post about creating new modules and other development in another post . Hope it helps some body and appreciate your valuable inputs.

Continue with next part.


Comments

Unknown said…
đồng tâm
game mu
cho thuê nhà trọ
cho thuê phòng trọ
nhac san cuc manh
số điện thoại tư vấn pháp luật miễn phí
văn phòng luật
tổng đài tư vấn pháp luật
dịch vụ thành lập công ty trọn gói

“Mạc Thiên Vân.” Đại hán áo đen thở một hơi: “Là con thứ hai của gia chủ, bây giờ là con trai trưởng, cũng là kẻ có khả năng lớn nhất trở thành người thừa kế.”


“Còn Nhị công tử?” Sở Dương vội vàng hỏi tiếp.


“Nhị công tử Mạc Thiên Cơ. Trong gia tộc thì Đại công tử dũng mãnh thiện chiến, còn Nhị công tử lại túc trí đa mưu. Điều này vốn vẫn được mọi người công nhận, chẳng lẽ ngươi không biết sao?” Đại hán áo đen nhìn Sở Dương với ánh mắt cổ quái, dường như đối với mấy câu hỏi của hắn có chút bất ngờ vậy. Hơn nữa, nngươi đã biết rõ Mạc Khinh Vũ, vậy sao lại không biết Mạc Thiên Vân cùng Mạc Thiên Cơ được chứ?


“Mạc Thiên Cơ?Mạc Thiên Cơ!” Sở Dương toàn thân chấn độc, lẩm bẩm: “Mạc… Thiên… Cơ…”


Hảo hữu kiếp trước - Mạc thị thiếu gia chủ, cũng là người sắp đặt mai phục đưa mình vào chỗ chết tại Thượng Tam Thiên… Kẻ khiến bản thân chết bất đắc kỳ tử này không ngờ lại là anh ruột của Khinh Vũ a!


Sở Dương không khỏi hừ lạnh một tiếng nói: “Dễ dàng rơi vào cạm bẫy của người khác như vậy còn gọi là đa mưu túc trí nữa hả?”


“Khụ khụ… Sức hấp dẫn của di tích cao thủ Quân cấp vốn là…”


“Tiểu huynh đệ, ngươi tên gì vậy?” Đại hán áo đen đột nhiên vỗ trán sực nói: “Thực xin lỗi, ta là Mạc Thành Vũ.”
Travis Smith said…

If some one wishes expert view concerning blogging after that i advise him/her to visit this web site, Keep up the fastidious work. www.gmail.com login
steve said…

مكافحة حشرات بالخبر افضل شركة مكافحة حشرات بالخبر
مكافحة حشرات بمكة افضل شركة رش حشرات بمكة
مكافحة حشرات بالمدينة المنورة افضل شركة رش حشرات بالمدينة المنورة
مكافحة حشرات بالدمام افضل شركة مكافحة حشرات بالدمام
power said…
Therefore, if you are one of the people who do not believe that consultants are useful, think again. There are several unique uses and benefits these professionals can provide for your business! Salesforce training in Chennai
Swetha K said…
t is a very helpful data. It will help to improve my knowledge about this topic. Thank you for this awesome post.
Pega Training in Chennai
Pega Course in Chennai
Primavera Training in Chennai
Full Stack Developer Course in Chennai
Corporate Training in Chennai
Jon Hendo said…
Thanks mate. I am really impressed with your writing talents and also with the layout on your weblog. Appreciate, Is this a paid subject matter or did you customize it yourself? Either way keep up the nice quality writing, it is rare to peer a nice weblog like this one nowadays. Thank you, check also event marketing and Best Business Event Invitation Email Examples Ideas
With special privileges and services, UEFA BET offers opportunities for small capitalists. Together ufa with the best websites that collect the most games With a minimum deposit starting from just 100 baht, you are ready to enjoy the fun with a complete range of betting that is available within the website

ufabet , our one another option We are a direct website, not through an agent, where customers can have great confidence without deception The best of online betting sites is that our Ufa will give you the best price
Maradona Jons said…
UEFA BET , or UFABET, is a comprehensive online betting service website without any agents or agents. Which has a wide variety of games and sports to choose from Including many types of online casinos, UFABET can be considered as an online gambling site that most people prefer to use. Because with a website design that is easy to use and does not need to understand a lot In addition, this website also supports many languages, including Chinese, Hong Kong, Thai, English, so most users, both new and old, choose to switch to the service with สมัคร ufa Bet more. The best online gambling sites in Asia.

Maradona Jons said…
Online slots (Slot Online) is the launch of a gambling machine. Slot machine As stated above Used to make electronic games referred to as web-based slots, due to the development era, many people have turned to gamble with one another by computers. Will draw slot games to make web based gambling games Via the web network system Which players can play through the slot plan or will perform Slots through the service provider's site Which internet slots games are available in the form of participating in guidelines. It is similar to playing on a slot machine. Both realistic pictures as well as sounds are at the same time thrilling as they go to lounge in the casino ever.
บาคาร่า
ufa
ufabet
แทงบอล
แทงบอล
แทงบอล

Popular posts from this blog

Configure PostgreSQL and phpPgAdmin in WAMP

Angular - 4 year road map

Angular 4 - Modules, components and routing