faiaz-halim

1

Apr 2nd, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. ShiftO-backend/
  2. ├── src/
  3. │ ├── main/
  4. │ │ ├── java/
  5. │ │ │ ├── com/
  6. │ │ │ │ └── shiftO/
  7. │ │ │ │ ├── controller/ # Controllers for handling HTTP requests
  8. │ │ │ │ │ ├── EmployeeController.java
  9. │ │ │ │ │ ├── AdminController.java
  10. │ │ │ │ │ └── HRController.java
  11. │ │ │ │ ├── dto/ # Data Transfer Objects for API communication
  12. │ │ │ │ │ ├── EmployeeDTO.java
  13. │ │ │ │ │ ├── ScheduleDTO.java
  14. │ │ │ │ │ └── ScheduleRequestDTO.java
  15. │ │ │ │ ├── exception/ # Custom exceptions and error handling
  16. │ │ │ │ │ └── ResourceNotFoundException.java
  17. │ │ │ │ ├── model/ # Domain models representing database tables
  18. │ │ │ │ │ ├── Employee.java
  19. │ │ │ │ │ ├── Schedule.java
  20. │ │ │ │ │ └── ScheduleRequest.java
  21. │ │ │ │ ├── repository/ # Interfaces for database access using Spring Data JPA
  22. │ │ │ │ │ ├── EmployeeRepository.java
  23. │ │ │ │ │ ├── ScheduleRepository.java
  24. │ │ │ │ │ └── ScheduleRequestRepository.java
  25. │ │ │ │ ├── service/ # Service layer for business logic
  26. │ │ │ │ │ ├── EmployeeService.java
  27. │ │ │ │ │ ├── ScheduleService.java
  28. │ │ │ │ │ └── ScheduleRequestService.java
  29. │ │ │ │ ├── serviceImpl/ # Implementations of the service interfaces
  30. │ │ │ │ │ ├── EmployeeServiceImpl.java
  31. │ │ │ │ │ ├── ScheduleServiceImpl.java
  32. │ │ │ │ │ └── ScheduleRequestServiceImpl.java
  33. │ │ │ │ └── ShiftOApplication.java # Spring Boot Application Starter
  34. │ │ │ └── resources/
  35. │ │ │ ├── application.properties # Application configuration like database connection
  36. │ │ │ └── static/ # Static resources
  37. │ │ └── webapp/
  38. │ │ └── WEB-INF/
  39. │ └── test/
  40. │ ├── java/
  41. │ │ └── com/
  42. │ │ └── shiftO/
  43. │ │ ├── controller/ # Unit tests for controllers
  44. │ │ ├── service/ # Unit tests for services
  45. │ │ └── repository/ # Unit tests for repositories
  46. │ └── resources/
  47. └── pom.xml # Maven project file
  48.  
Advertisement
Add Comment
Please, Sign In to add comment