-
Notifications
You must be signed in to change notification settings - Fork 42
Getting Started
-
Download and Install mongodb - Checkout their manual if you're just starting.
-
Download and Install Node.js - nodeschool has free node tutorials to get you started.
$ npm install -g bower
Note: If you are new to Node or Express, we recommend to watch Node.js and Express 101 screencast by Alex Ford that teaches Node and Express from scratch. Alternatively, here is another great tutorial for complete beginners - Getting Started With Node.js, Express, MongoDB.
The easiest way to get started is to clone the repository:
# Get the latest snapshot
git clone https://github.com/greenpioneersolutions/meanstackjs.git
# Change directory
cd meanstackjs
# Install NPM dependencies
npm install
# Start up the server
npm start
# or
node server.js
# or
nodemon server.js
Note: We highly recommend installing Nodemon.
It watches for any changes in your node.js app and automatically restarts the
server. Once installed, instead of node server.js
use nodemon server.js
. It will
save you a lot of time in the long run, because you won't need to manually
restart the server each time you make a small change in code. To install, run
sudo npm install -g nodemon
.
Copyright © Green Pioneer Solutions, LLC 2014 -2017