You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2018. It is now read-only.
I have detected a lot of files with index.js name. This is not a good practice as... most of the time in backend we don't think in index, like in the front... we understand index as the root front-end render... not like the main gateway.
Let's see the current situation:
/index.js -> This is the server file... not the index related matters. I think server.js is much better name, as this file manage the server behaviour
/routes/index.js -> This file manage the API routes, nothing related to index... I think api.js is much clear.