The TaskFlow Admin Dashboard is a dedicated React frontend that gives administrators full visibility and control over users and tasks across the entire platform. It is separate from the user-facing frontend and runs on port 3000. All actions performed through the dashboard call admin-protected API endpoints that require a valid admin-role JWT.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Ajith66310/task-manager-full/llms.txt
Use this file to discover all available pages before exploring further.
All admin API routes require an
Authorization: Bearer <token> header. The JWT must belong to an account with role: admin. Requests from non-admin tokens receive 403 Forbidden.Dashboard pages
The Admin Dashboard is organised into five pages:Overview
A summary view showing total tasks, completion rate, in-progress count, and overdue tasks. Includes a status distribution pie chart and a priority bar chart, plus sections for tasks due today, upcoming tasks, and overdue tasks.
Task list
A filterable, paginated view of all tasks across every user. Admins can update status, priority, and due date, or delete tasks directly from this view.
Add task
A form to assign a new task directly to a specific user. Admin-assigned tasks are pre-verified (
isVerifiedByAdmin: true) and trigger an assignment notification email to the recipient.Task verification
A queue of tasks submitted by users that are awaiting admin review. Admins can mark each task as verified, closing the verification loop and notifying the user by email.
User management
A list of all non-admin user accounts. Admins can verify unverified users or permanently delete accounts from this page.
Admin workflows
User management
View all user accounts (excluding admins):Task assignment
Assign a new task directly to a user. The body must include the targetuserId:
isVerifiedByAdmin: true and the assigned user receives an email notification.
Pending task review
Retrieve all tasks that users have submitted for admin review (tasks whereisVerifiedByAdmin is false):
Task verification
Mark a pending task as verified:isVerifiedByAdmin: true on the task and sends a verification confirmation email to the task owner.
Onboarding a new user
Use the following workflow every time a new user joins your organisation:User signs up
The new user registers at
POST /api/auth/signup with their name, email, and password. Their account is created with isVerified: false and they cannot yet create tasks.Admin opens User Management
In the Admin Dashboard, navigate to the User Management page. Unverified users are listed with a pending indicator.
Admin verifies the account
Click Verify next to the user’s name, or call
PATCH /api/admin/users/:id/verify directly. The user’s isVerified field is set to true.Marking tasks as completed
Admins can mark any task as completed through the standard task update endpoint:status to completed, the task service automatically sends the task owner an email notification. The update is returned to the caller immediately — the email is dispatched in the background and does not delay the API response.