12/12/2018: lastest code on develop branch
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
npm install
The vendor needs to be packaged once when the first time running. Repackage it if dependencies change.
npm run dll
npm run build
npm run prod
npm run server
npm run start