MERN: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Setup) |
||
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> |
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