node + express + mongo (mongoose) + psql (Sequelize)

A basic project for node + express + mongo (mongoose) + psql (Sequelize) :
https://github.com/helabenkhalfallah/node-express-mongoose-sqlize

Routes : / routes
dbs configs, connections and models : /db 
CRUD : find, finOne, findById, add only if not exist, edit only if exist, delete only if exist ...

 

Sequelize more details and documentation :

http://docs.sequelizejs.com/manual/installation/getting-started.html

http://javasampleapproach.com/node-js/sequelize-orm-build-crud-restapis-with-nodejs-express-sequelize-mysql

https://stackoverflow.com/questions/36906500/avoid-created-at-and-updated-at-being-auto-generated-by-sequelize

 

js