0.0.1 • Published 8 years ago

express-react-sequlize-mvc v0.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

express-react-sequlize MVC

A basic isomorphic JavaScript application with React, Express,and Sequelize

fork from https://github.com/jcreamer898/expressiso

Installation

npm install

Running the app

DEBUG=expressiso ./bin/www

Building with webpack

npm run build:watch  # Watch for changes and rebuild
npm run build        # One-off build

Installation 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 裡面