mern-stack-cli

A MERN Stack Cli

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
mern-stack-cli
1.5.17 years ago7 years agoMinified + gzip package size for mern-stack-cli in KB

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