Inspired by Node.js Express framework tutorial on Mozilla using MySQL.
$ git clone https://github.com/sithu-ab/express-library.git
$ cd express-library
$ npm install
Create a new database, for example, express_library
.
Configure your db setting in config/config.js
.
Run migration:
$ node_modules/.bin/sequelize db:migrate
Run app:
$ DEBUG=express-library:* npm run devstart