Skip to content
This repository was archived by the owner on Apr 27, 2024. It is now read-only.

Code Structure

Hoai Nhan edited this page Feb 5, 2024 · 2 revisions
  • Source code
    • models

      • course
        • Course.java
      • exercise
      • group
      • topic
      • material
      • user
    • services (Controller will call service)

      • course
        • CourseService.java (interface)
        • CourseImplement.java
      • exercise
        • ExerciseService.java (interface)
        • ExerciseImplement.java
      • group
        • GroupService.java (interface)
        • GroupImplement.java
    • repositories (access database and can be called by service and controller)

      • CourseRepository.java
    • mapper (mapper)

    • security (all methods related to security will be stored here)

    • utils

      • DateUtil.java
    • helper

      • ExcelHelper.java
      • JsonConvert
    • constants

      • DataType.java
    • validator

      • date
        • DateComparison.java (@interface)
        • DateComparisonValidator.java
    • controllers (API)

      • TopicController.java
      • UserController.java
      • ExerciseController.java

Clone this wiki locally