diff --git a/backend/controllers/Auth.controller.js b/backend/controllers/auth.controller.js similarity index 100% rename from backend/controllers/Auth.controller.js rename to backend/controllers/auth.controller.js diff --git a/backend/controllers/Cart.controller.js b/backend/controllers/cart.controller.js similarity index 100% rename from backend/controllers/Cart.controller.js rename to backend/controllers/cart.controller.js diff --git a/backend/controllers/Category.controller.js b/backend/controllers/category.controller.js similarity index 100% rename from backend/controllers/Category.controller.js rename to backend/controllers/category.controller.js diff --git a/backend/controllers/ContactUs.controller.js b/backend/controllers/contactUs.controller.js similarity index 100% rename from backend/controllers/ContactUs.controller.js rename to backend/controllers/contactUs.controller.js diff --git a/backend/controllers/Course.controller.js b/backend/controllers/course.controller.js similarity index 100% rename from backend/controllers/Course.controller.js rename to backend/controllers/course.controller.js diff --git a/backend/controllers/Payments.controller.js b/backend/controllers/payments.controller.js similarity index 100% rename from backend/controllers/Payments.controller.js rename to backend/controllers/payments.controller.js diff --git a/backend/controllers/Profile.controller.js b/backend/controllers/profile.controller.js similarity index 100% rename from backend/controllers/Profile.controller.js rename to backend/controllers/profile.controller.js diff --git a/backend/controllers/RatingAndReview.controller.js b/backend/controllers/ratingAndReview.controller.js similarity index 100% rename from backend/controllers/RatingAndReview.controller.js rename to backend/controllers/ratingAndReview.controller.js diff --git a/backend/controllers/ResetPassword.controller.js b/backend/controllers/resetPassword.controller.js similarity index 100% rename from backend/controllers/ResetPassword.controller.js rename to backend/controllers/resetPassword.controller.js diff --git a/backend/controllers/Section.controller.js b/backend/controllers/section.controller.js similarity index 100% rename from backend/controllers/Section.controller.js rename to backend/controllers/section.controller.js diff --git a/backend/controllers/SubSection.controller.js b/backend/controllers/subSection.controller.js similarity index 100% rename from backend/controllers/SubSection.controller.js rename to backend/controllers/subSection.controller.js diff --git a/backend/controllers/User.controller.js b/backend/controllers/user.controller.js similarity index 100% rename from backend/controllers/User.controller.js rename to backend/controllers/user.controller.js diff --git a/backend/models/Category.model.js b/backend/models/category.model.js similarity index 100% rename from backend/models/Category.model.js rename to backend/models/category.model.js diff --git a/backend/models/Course.model.js b/backend/models/course.model.js similarity index 100% rename from backend/models/Course.model.js rename to backend/models/course.model.js diff --git a/backend/models/CourseProgress.model.js b/backend/models/courseProgress.model.js similarity index 100% rename from backend/models/CourseProgress.model.js rename to backend/models/courseProgress.model.js diff --git a/backend/models/OTP.model.js b/backend/models/otp.model.js similarity index 100% rename from backend/models/OTP.model.js rename to backend/models/otp.model.js diff --git a/backend/models/Profile.model.js b/backend/models/profile.model.js similarity index 100% rename from backend/models/Profile.model.js rename to backend/models/profile.model.js diff --git a/backend/models/RatingAndReview.model.js b/backend/models/ratingAndReview.model.js similarity index 100% rename from backend/models/RatingAndReview.model.js rename to backend/models/ratingAndReview.model.js diff --git a/backend/models/Section.model.js b/backend/models/section.model.js similarity index 100% rename from backend/models/Section.model.js rename to backend/models/section.model.js diff --git a/backend/models/SubSection.model.js b/backend/models/subSection.model.js similarity index 100% rename from backend/models/SubSection.model.js rename to backend/models/subSection.model.js diff --git a/backend/models/Tags.model.js b/backend/models/tags.model.js similarity index 100% rename from backend/models/Tags.model.js rename to backend/models/tags.model.js diff --git a/backend/models/User.model.js b/backend/models/user.model.js similarity index 100% rename from backend/models/User.model.js rename to backend/models/user.model.js diff --git a/backend/routes/course.route.js b/backend/routes/course.route.js index d545c65..9d9eaf3 100644 --- a/backend/routes/course.route.js +++ b/backend/routes/course.route.js @@ -8,13 +8,13 @@ import { editCourse, getInstructorCourses, deleteCourse, -} from '../controllers/Course.controller.js' // Course Controllers Import +} from '../controllers/course.controller.js' // Course Controllers Import import { showAllCategories, createCategory, categoryPageDetails, -} from '../controllers/Category.controller.js' // Categories Controllers Import +} from '../controllers/category.controller.js' // Categories Controllers Import import { createSection, @@ -38,7 +38,7 @@ import { addCourseIntoCart, removeCourseFromCart, clearCart, -} from '../controllers/Cart.controller.js' // Cart Controllers Import +} from '../controllers/cart.controller.js' // Cart Controllers Import import { auth, isInstructor, isStudent, isAdmin } from '../middlewares/auth.middelware.js' // Importing Middlewares