MERN: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
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