Microservice to access and manage hotel tasks.
- Go to directory:
./src/task_system/task_system_server - run command:
dotnet watch run
- Open Docker
- Go to directory:
./docker-compose - run command:
docker-compose -f docker-compose.dev.yaml up --build
- Go to directory:
./src/task_system/task_system_test - run command:
dotnet test
- Open Docker
- Run command from anywhere:
docker run -e POSTGRES_PASSWORD=sa -d -p 50021:5432 postgres - Go to directory:
./src/task_system/task_system_integration_test - run command:
dotnet test
- Open Docker
- Run command from anywhere:
docker run -e POSTGRES_PASSWORD=sa -d -p 50021:5432 postgres - Go to directory:
./src/task_system - run command:
dotnet test
- canViewTasks
- canCreateTasks
- canEditTasks
- canDeleteTasks
| Field Name | Description |
|---|---|
| Id | Unique value that identifies the task. |
| TaskType | Type of service/task. |
| Description | Detailed description of the task, outlining what needs to be done. |
| RoomId | Unique identifier of the room associated with the task. |
| AssigneeId | Unique identifier of the user assigned to the task. |
| Status | Status of the task (e.g., Pending, In Progress, Completed). |
| CreatedAt | Day and time indicating when the task was created. |
get all tasks
get specific task by id
create task
update task with changed information
update task with new assignId
delete specified task from database
DB_IMPLEMENTATION- used to determine whether a stub or real implementation of a data layer is returned
- Value:
POSTGRES, Attempts to connect to a POSTGRESQL database - Value:
MOCK, Uses in-memory storage
DB_HOST- Configure Postgress Connection string
DB_PORT- Configure Postgress Connection string
DB_USERNAME- Configure Postgress Connection string
DB_PASSWORD- Configure Postgress Connection string