Open AbdelrahmanSadat opened 4 years ago
The config and setup code for the database might need some refactoring. Also for importing the models. Check: https://github.com/sequelize/express-example/blob/master/models/index.js Also check the sequelize docs for sequelize's import.
The config and setup code for the database might need some refactoring. Also for importing the models. Check: https://github.com/sequelize/express-example/blob/master/models/index.js Also check the sequelize docs for sequelize's import.