POST
/api/auth/registerRegisters a new user.
Example request body
{
"name": "Örnek Kullanıcı",
"email": "user@example.com",
"password": "••••••••"
}TaskFlow task and project management backend API endpoints.
/api/auth/registerRegisters a new user.
{
"name": "Örnek Kullanıcı",
"email": "user@example.com",
"password": "••••••••"
}/api/auth/loginSigns in the user and generates a JWT for the session.
{
"email": "user@example.com",
"password": "••••••••"
}/api/auth/change-passwordAuthentication requiredUpdates the password of the signed-in user.
{
"oldPassword": "••••••••",
"newPassword": "••••••••"
}/api/users/change-user-roleAuthentication requiredUpdates a user's role.
{
"userId": "user-123",
"newRole": "Manager"
}/api/users/delete-user/:userIdAuthentication requiredDeletes the specified user.
/api/projects/createAuthentication requiredCreates a project.
{
"name": "Web sitesi yenileme",
"description": "Kurumsal web sitesinin yenilenmesi"
}/api/projects/get-all?search=param&status=activeLists projects with search and status filters.
/api/projects/get/:projectIdReturns details for the specified project.
/api/projects/owner/:ownerIdRetrieves the projects managed by the manager with the given ID value.
/api/projects/update/:projectIdAuthentication requiredUpdates an existing project.
{
"name": "Güncellenmiş proje",
"description": "Güncel proje açıklaması",
"status": "active"
}/api/projects/delete/:projectIdAuthentication requiredDeletes the specified project.
/api/tasks/createAuthentication requiredCreates a task for a project and assigns it to a team member.
{
"title": "Ana sayfa tasarımı",
"description": "Ana sayfa arayüzünü hazırla",
"projectId": "project-123",
"assigneeId": "user-456",
"status": "PENDING",
"priority": "medium"
}/api/tasks/get-all?search=title&page=1&limit=10&status=PENDINGLists tasks with title search, pagination, and status filters.
/api/tasks/get/:taskIdReturns task details and its assignee.
/api/tasks/project/:projectIdLists tasks and progress for a project.
/api/tasks/update/:taskIdAuthentication requiredUpdates task details or status.
{
"title": "Ana sayfa tasarımı",
"description": "Arayüzü tamamla",
"status": "IN_PROGRESS",
"priority": "medium"
}/api/tasks/delete/:taskIdAuthentication requiredDeletes the specified task.