impactbyte-learn/code-restapi-orm-sqldatabase

Why we need change config.json to config.js?

Closed this issue · 1 comments

Based on [Doc Tutorial Sequelize]. We just need to modify config.json file?

http://docs.sequelizejs.com/manual/tutorial/migrations.html

Because we have to use process.env.VARIABLE_NAME inside that config. In JSON, we cannot use variable.