mern-stack-cli
v1.5.1
Published
A MERN Stack Cli
Downloads
4
Readme
MERN-Stack Cli
___ ___ ___________ _ _
| \\/ || ___| ___ \\ \\ | |
| . . || |__ | |_/ / \\| |
| |\\/| || __|| /| . ` |
| | | || |___| |\\ \\| |\\ |
\\_| |_/\\____/\\_| \\_\\_| \\_/
Installation
npm install -g mern-stack-cli
mern runs
mern create <project-name-here>
cd <project-name-here>
npm install
Add MongoDB Connection in config.js I use MLAB
npm start
Make Empty Component
cd <your-project-here>
mern make <your-component-name-here>
mern page <your-page-name-here>
Make Empty Page
cd <your-project-here>
mern page <your-page-name-here>
Extra Commands
Use npm start
to start the server
Use npm run build:pro
for webpack production
Use npm run build
for webpack developing watch