Skip to content

Comments

Merge Feat/task-management branch into main - Add task CRUD UI (modal form, detail view, menu), toasts, API alteration and unit tests#3

Open
arsalanrasheed93 wants to merge 8 commits intojnyecode:mainfrom
arsalanrasheed93:feat/task-management
Open

Merge Feat/task-management branch into main - Add task CRUD UI (modal form, detail view, menu), toasts, API alteration and unit tests#3
arsalanrasheed93 wants to merge 8 commits intojnyecode:mainfrom
arsalanrasheed93:feat/task-management

Conversation

@arsalanrasheed93
Copy link

Summary:

FE:

  • Added interactive task creation/edit/delete flows in the frontend.
  • Used modal form (TaskForm / AddNewTask), task detail view, three-dot menu for per-task actions, and toast notifications.
  • Integrated with backend endpoints: GET /api/tasks, POST /api/tasks (create), PUT /api/tasks/:id (update), DELETE /api/tasks/:id (delete).
  • Integrated key press functionality

BE:

  • Introduced a service layer to handle business logic and keep controllers thin.
  • Added DTOs (TaskCreateDto and TaskUpdateDto) to decouple API request/response from the database model.
  • Refactored repository to work with IDataContext and implemented soft delete (IsActive = false).
  • Implemented unit tests for TaskService using NUnit and Moq to validate all CRUD operations.
  • Added middleware for exception handling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant