Skip to content

Feature/es6 controllers - Refactored Controllers to ES6 syntax for version compatibility with node modules#60

Merged
agaesh merged 12 commits intoes6from
feature/es6-controllers
Oct 10, 2025
Merged

Feature/es6 controllers - Refactored Controllers to ES6 syntax for version compatibility with node modules#60
agaesh merged 12 commits intoes6from
feature/es6-controllers

Conversation

@agaesh
Copy link
Owner

@agaesh agaesh commented Oct 10, 2025

Refactored multiple controllers (DepartmentController, UserController, SemesterController, and ProgramCourseController) to ES6 syntax.

  • Replaced CommonJS require with ES6 import statements.
  • Updated exports to use export const for consistency.
  • Ensures cleaner and modern module structure. ✅

@agaesh agaesh linked an issue Oct 10, 2025 that may be closed by this pull request
7 tasks
@agaesh agaesh changed the base branch from main to es6 October 10, 2025 09:01
@agaesh agaesh merged commit fc71cab into es6 Oct 10, 2025
1 check failed
@agaesh
Copy link
Owner Author

agaesh commented Oct 10, 2025

Closing the pull request after changing all controller to es6 syntax

@agaesh agaesh deleted the feature/es6-controllers branch October 11, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Title: Convert all controllers to ES6 module syntax

1 participant