MERN: Difference between revisions

From air
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''MERN is a scaffolding tool which makes it easy to build isomorphic apps using [[MongoDB]], [[Express]], [[React.js]] and [[Node.JS]]'''
'''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
http://mern.io/#intro


=Setup=
=Setup=

Install and start [[MongoDB]]


<pre>
<pre>
sudo npm install -g mern-cli
</pre>


=First app=
npm install -g mern-cli
<pre>
mern myFirstApp
mern myFirstMERNApp
cd myFirstApp
cd myFirstMERNApp
npm install
npm install
npm start
npm start

</pre>
</pre>

Browse http://localhost:8000

Latest revision as of 07: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