0.0.1 • Published 8 years ago
express-react-sequlize-mvc v0.0.1
express-react-sequlize MVC
A basic isomorphic JavaScript application with React, Express,and Sequelize
Installation
npm installRunning the app
DEBUG=expressiso ./bin/wwwBuilding with webpack
npm run build:watch # Watch for changes and rebuild
npm run build # One-off buildInstallation Database
And one of the following:
$ npm install --save pg pg-hstore
$ npm install --save mysql2
$ npm install --save sqlite3
$ npm install --save tedious // MSSQL建立Model
$ npm rum sequlize init原本 sequlize-cli 指令是
$ node_modules/.bin/sequelize init但為了好寫,已將指令寫到package.json的script 裡面
0.0.1
8 years ago