mirror of
https://github.com/JGH0/Todo-App-Backend.git
synced 2026-06-03 13:28:47 +02:00
- BaseController: paginatedResponse() helper with meta (page/perPage/total/lastPage/hasMore), getSortParams(), getFilterParams(), encodeJwt()/decodeJwt(), logActivity() helper, validateWithModel() - TodoController: paginated/sortable/filterable index, model-based validation, boolean conversion on write, activity logging - CategoryController: same pagination/sort/filter patterns + duplicate-name check (409) - ProjectController: paginated index + activity logging - RecurringTaskController: paginated/sortable/filterable index + junction-table category linking - AuthController: JWT register/login/refresh endpoints (firebase/php-jwt v7) - Routes: JWT routes added as public endpoints - Models: all have proper validationRules with exact error messages (field-level, user-facing) - ApiAuthFilter: scoped API key auth + UserThemeController generateUuid visibility fix - composer.json: add firebase/php-jwt ^7.0
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "codeigniter4/appstarter",
|
|
"description": "CodeIgniter4 starter app",
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"homepage": "https://codeigniter.com",
|
|
"support": {
|
|
"forum": "https://forum.codeigniter.com/",
|
|
"source": "https://github.com/codeigniter4/CodeIgniter4",
|
|
"slack": "https://codeigniterchat.slack.com"
|
|
},
|
|
"require": {
|
|
"php": "^8.2",
|
|
"codeigniter4/framework": "^4.7",
|
|
"firebase/php-jwt": "^7.0"
|
|
},
|
|
"require-dev": {
|
|
"fakerphp/faker": "^1.9",
|
|
"mikey179/vfsstream": "^1.6",
|
|
"phpunit/phpunit": "^10.5.16"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Config\\": "app/Config/"
|
|
},
|
|
"exclude-from-classmap": [
|
|
"**/Database/Migrations/**"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\Support\\": "tests/_support"
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit"
|
|
}
|
|
}
|