MERN: Difference between revisions
Jump to navigation
Jump to search
(→Setup) |
|||
(2 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. |
'''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 |
||
Line 5: | Line 5: | ||
=Setup= |
=Setup= |
||
Install and start [[MongoDB]] |
|||
⚫ | |||
⚫ | |||
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 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
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