Skip to content

Use Of Controllers for clean code structure and debugging #3

@Code-Gale

Description

@Code-Gale

Hello Dinushchathurya, I am Code-Gale and I came across your node-ecommerce-api and I must say I am very impresssed, quite detailed and neat. The reason I pulled this issue is to suggest to consider further splitting your routes. By this I mean for every route handler function, I suggest you move it into a controller folder and then import it later on. This helps in maintaining a clean code structure and will even help further in debugging in case of bugs. If you don't mind, I can assist with this. Thank you for reading a kudos to you for a job well done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions