Skip to content

Cleanup: Remove duplicated auth and DB logic after PR #58 #90

@shishir-21

Description

@shishir-21

After merging PR #58, I noticed some duplicated or conflicting blocks in the codebase.

Examples:

  • server.js: duplicated MongoDB connection logic, repeated auth route declarations, and repeated fs.readFile blocks.
  • AuthControllers.js: duplicated constants and object definitions.

This does not block functionality, but cleaning it up would improve maintainability and reduce the risk of future bugs.

Happy to help with a follow-up PR if this is okay.

Related to: PR #58

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions