express-react-sequlize-mvcdeprecated

A basic isomorphic JavaScript application with [React](http://facebook.github.io/react/), [Express](expressjs.com),and [Sequelize](http://sequelizejs.com/) >fork from https://github.com/jcreamer898/expressiso

Usage no npm install needed!

<script type="module">
  import expressReactSequlizeMvc from 'https://cdn.skypack.dev/express-react-sequlize-mvc';
</script>

README

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