Skip to content

Title: Convert all controllers to ES6 module syntax #52

@agaesh

Description

@agaesh

🧩 Issue : Convert Controllers to ES6 Module Syntax

Description

Refactor all controller files to use ES6 import / export syntax instead of CommonJS require / module.exports.
This change ensures compatibility with ViteJS and Supertest, which depend on native ES module support.


Controllers

  • DepartmentController
  • InstructorController
  • ProgramCourseController
  • SemesterController
  • UserController

Tasks

  • Replace requireimport
  • Replace module.exportsexport

Branch

fix/es6-Controllers

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