NZMia / NZMia.github.io-old

Wepack 4 for React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

12/12/2018: lastest code on develop branch

Personal Project Refactor

This is for react + express + mongoose project

Node: cross-env should install globally in your local. So please double check it before npm install.

Database: mongoose I assume you konw how to use it. Or read it https://mongoosejs.com/docs/api.html#mongoose_Mongoose

Quick start


Install
  npm install
Dll

The vendor needs to be packaged once when the first time running. Repackage it if dependencies change.

  npm run dll
Development
  npm run build
Production
  npm run prod

START (port: 9090)


Backend start (port:9091)
  npm run server 
Frontend Start (prot: 9090)
  npm run start 

About

Wepack 4 for React


Languages

Language:JavaScript 71.1%Language:CSS 27.9%Language:HTML 1.0%