Update index.js

set real database config(sole config file later)