This project is a Task Management System that consists of both User and Admin modules. The system allows the Admin to create users, assign tasks, and manage subtasks. It also includes authentication and task assignment features, ensuring efficient task management.
- Create User: Admin can create a new user, and an invitation email is sent to the user.
- User Login: Users can log in with credentials.
- Task Assignment: Admin can assign tasks to users.
- View Users: Admin can view all registered users.
- User Login: Users can log in via email and password sent by the admin.
- View Tasks: Users can view all tasks assigned to them.
- Update Task Status: Users can update the status of their assigned tasks (e.g., mark as "Completed").
- Create Task: Admin can create a task with associated subtasks.
- Update Task: Admin can update an existing task, including subtasks.
- Delete Task: Admin can delete a task.
- View Tasks: Admin can view all tasks.
- Update Task Status: Admin can update the status of a task.
- View Task Count: Admin can get the total task count.
- Create Subtask: Admin can create subtasks for tasks.
- Update Subtask: Admin can update existing subtasks.
- Delete Subtask: Admin can delete a subtask.
- View Subtask Count: Admin can get the count of subtasks.
POST /admin/signup: Admin sign-up endpoint.POST /create-invite-user: Admin creates and invites a new user.POST /signin: User sign-in endpoint.GET /get-users: Get all users (Admin only).
POST /create-task: Admin creates a task with subtasks.POST /update-task/:taskId: Admin updates an existing task with subtasks.GET /get-tasks: Get all tasks (Admin only).GET /get-task/:taskId: Get a specific task by ID.DELETE /delete-task/:taskId: Admin deletes a task.POST /update-task-status: Update the status of a task.GET /task-counts: Get the total task count.
GET /get-tasks/:userId: Get all tasks assigned to the user byuserId.POST /update-task-status: User updates the status of a task assigned to them.GET /get-subtasks/:taskId: Get all subtasks associated with the specified task ID.
POST /create-subtask: Admin creates a new subtask.POST /update-subtask: Admin updates an existing subtask.POST /delete-subtask: Admin deletes a subtask.GET /get-subtask/:subtaskId: Get a specific subtask by ID.GET /subtask-count: Get the total subtask count.