Posted by : at

Category : web-development   node   mongodb   mean   linux

MEAN stands for MongoDB ExpressJS Angularjs NodeJS. This is the part-1 of the series. You can find the boilerplate code here to get started : MEANJS BOILERPLATE

Setup the development environment for MEAN Development

We need to install node , npm and mongodb

Setting up Node Js and NPM

visit http://nodejs.org/ to download node . You can also use nvm to install different versions of node

Guide to setup nodejs to install nvm

Setting up Mongodb

Install Mongodb on your system locally or grab atlas for mongodb

Guide to setup mongodb

To check :

$mongod --version

$mongo --version

To check if mongod process is running or not

$ ps aux | grep mongod

To check the status :

$ sudo service mongod status

To start or stop

$ sudo service mongod start

$ sudo service mongod stop