Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ShiftO-backend/
- │
- ├── src/
- │ ├── main/
- │ │ ├── java/
- │ │ │ ├── com/
- │ │ │ │ └── shiftO/
- │ │ │ │ ├── controller/ # Controllers for handling HTTP requests
- │ │ │ │ │ ├── EmployeeController.java
- │ │ │ │ │ ├── AdminController.java
- │ │ │ │ │ └── HRController.java
- │ │ │ │ ├── dto/ # Data Transfer Objects for API communication
- │ │ │ │ │ ├── EmployeeDTO.java
- │ │ │ │ │ ├── ScheduleDTO.java
- │ │ │ │ │ └── ScheduleRequestDTO.java
- │ │ │ │ ├── exception/ # Custom exceptions and error handling
- │ │ │ │ │ └── ResourceNotFoundException.java
- │ │ │ │ ├── model/ # Domain models representing database tables
- │ │ │ │ │ ├── Employee.java
- │ │ │ │ │ ├── Schedule.java
- │ │ │ │ │ └── ScheduleRequest.java
- │ │ │ │ ├── repository/ # Interfaces for database access using Spring Data JPA
- │ │ │ │ │ ├── EmployeeRepository.java
- │ │ │ │ │ ├── ScheduleRepository.java
- │ │ │ │ │ └── ScheduleRequestRepository.java
- │ │ │ │ ├── service/ # Service layer for business logic
- │ │ │ │ │ ├── EmployeeService.java
- │ │ │ │ │ ├── ScheduleService.java
- │ │ │ │ │ └── ScheduleRequestService.java
- │ │ │ │ ├── serviceImpl/ # Implementations of the service interfaces
- │ │ │ │ │ ├── EmployeeServiceImpl.java
- │ │ │ │ │ ├── ScheduleServiceImpl.java
- │ │ │ │ │ └── ScheduleRequestServiceImpl.java
- │ │ │ │ └── ShiftOApplication.java # Spring Boot Application Starter
- │ │ │ └── resources/
- │ │ │ ├── application.properties # Application configuration like database connection
- │ │ │ └── static/ # Static resources
- │ │ └── webapp/
- │ │ └── WEB-INF/
- │ └── test/
- │ ├── java/
- │ │ └── com/
- │ │ └── shiftO/
- │ │ ├── controller/ # Unit tests for controllers
- │ │ ├── service/ # Unit tests for services
- │ │ └── repository/ # Unit tests for repositories
- │ └── resources/
- └── pom.xml # Maven project file
Advertisement
Add Comment
Please, Sign In to add comment