A RESTful API built with Laravel 13 and MySQL for managing projects and tasks.
- Token Authentication
- Project & Task Management
- Search & Filtering
- Dashboard Statistics
- Automated Tests
- User Registration
- User Login
- User Logout
- Token Authentication with Laravel Sanctum
- Create Project
- View Projects
- Update Project
- Delete Project
- Create Task
- View Tasks
- Update Task
- Delete Task
- Search Tasks
- Filter Tasks by Status
- Filter Tasks by Priority
- Sort Tasks
- Pagination
- Total Projects
- Total Tasks
- Pending Tasks
- Completed Tasks
- Laravel Sanctum Authentication
- Authorization Policies
- Request Validation
- Protected API Routes
- Authentication Tests
- Authorization Tests
- Task Search Tests
- Laravel 13
- PHP 8.3
- MySQL
- Laravel Sanctum
- PHPUnit
- Postman
git clone <repository-url>
cd taskflow-api
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan servephp artisan testPOST /api/register
POST /api/login
POST /api/logout
GET /api/me
GET /api/projects
POST /api/projects
GET /api/projects/{id}
PUT /api/projects/{id}
DELETE /api/projects/{id}
GET /api/tasks
POST /api/tasks
GET /api/tasks/{id}
PUT /api/tasks/{id}
DELETE /api/tasks/{id}
GET /api/dashboard




