Skip to content
This repository was archived by the owner on Oct 14, 2018. It is now read-only.
This repository was archived by the owner on Oct 14, 2018. It is now read-only.

index everywhere #27

@UlisesGascon

Description

@UlisesGascon

Hi team,

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions