/Bookshelf

NodeJS + Postgresql + Bookshelf

Primary LanguageJavaScript

Bookshelf

NodeJS + Postgresql + Bookshelf

$ npm install knex --save

$ npm install bookshelf --save

Escolha a conexão:

$ npm install pg

$ npm install mysql

$ npm install mariasql

$ npm install sqlite3

Validador

https://github.com/hapijs/joi/blob/v11.1.1/API.md

$ npm install joi --save

Retornar promise

$ npm install bluebird --save

Executar este projeto

$ npm install

$ npm start