mern-stack-cli

1.5.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i mern-stack-cli

Weekly Downloads

1

Version

1.5.1

License

ISC

Last publish

Collaborators

  • lfaler