Difference between revisions of "MERN"

From air
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=Setup=
 
=Setup=
   
  +
Install and start [[MongoDB]]
<pre>
 
   
 
<pre>
 
sudo npm install -g mern-cli
 
sudo npm install -g mern-cli
  +
</pre>
  +
  +
=First app=
  +
<pre>
 
mern myFirstMERNApp
 
mern myFirstMERNApp
 
cd myFirstMERNApp
 
cd myFirstMERNApp
 
npm install
 
npm install
 
npm start
 
npm start
 
 
</pre>
 
</pre>
  +
  +
Browse http://localhost:8000

Latest revision as of 09:36, 21 February 2016

MERN is a scaffolding tool which makes it easy to build isomorphic apps using MongoDB, Express.js, React.js and Node.js

http://mern.io/#intro

Setup

Install and start MongoDB

sudo npm install -g mern-cli

First app

mern myFirstMERNApp
cd myFirstMERNApp
npm install
npm start

Browse http://localhost:8000