From 5cb8f23bdf626468d89f9a40eb9118041cc9ff78 Mon Sep 17 00:00:00 2001 From: Skuddin Date: Mon, 25 Sep 2023 16:34:42 +0600 Subject: [PATCH] updated web & api routes --- .editorconfig | 0 .env.example | 51 ------------------- .gitattributes | 0 .github/workflows/laravel.yml | 0 .gitignore | 0 .styleci.yml | 0 README.md | 0 app/Console/Kernel.php | 0 app/Exceptions/Handler.php | 0 .../Controllers/Admin/DashboardController.php | 0 .../Controllers/Admin/StatsController.php | 0 .../Controllers/Api/V1/TaskController.php | 0 .../Auth/AuthenticatedSessionController.php | 0 .../Auth/ConfirmablePasswordController.php | 0 ...mailVerificationNotificationController.php | 0 .../EmailVerificationPromptController.php | 0 .../Auth/NewPasswordController.php | 0 .../Auth/PasswordResetLinkController.php | 0 .../Auth/RegisteredUserController.php | 0 .../Auth/VerifyEmailController.php | 0 app/Http/Controllers/Controller.php | 0 app/Http/Controllers/DashboardController.php | 0 app/Http/Controllers/HomeController.php | 0 app/Http/Controllers/TaskController.php | 0 app/Http/Controllers/UserController.php | 0 app/Http/Kernel.php | 0 app/Http/Middleware/Authenticate.php | 0 app/Http/Middleware/EncryptCookies.php | 0 app/Http/Middleware/IsAdminMiddleware.php | 0 .../PreventRequestsDuringMaintenance.php | 0 .../Middleware/RedirectIfAuthenticated.php | 0 app/Http/Middleware/TrimStrings.php | 0 app/Http/Middleware/TrustHosts.php | 0 app/Http/Middleware/TrustProxies.php | 0 app/Http/Middleware/VerifyCsrfToken.php | 0 app/Http/Requests/Auth/LoginRequest.php | 0 app/Models/Task.php | 0 app/Models/User.php | 0 app/Providers/AppServiceProvider.php | 0 app/Providers/AuthServiceProvider.php | 0 app/Providers/BroadcastServiceProvider.php | 0 app/Providers/EventServiceProvider.php | 0 app/Providers/RouteServiceProvider.php | 0 app/View/Components/AppLayout.php | 0 app/View/Components/GuestLayout.php | 0 bootstrap/app.php | 0 bootstrap/cache/.gitignore | 0 composer.json | 0 composer.lock | 0 config/app.php | 0 config/auth.php | 0 config/broadcasting.php | 0 config/cache.php | 0 config/cors.php | 0 config/database.php | 0 config/filesystems.php | 0 config/hashing.php | 0 config/logging.php | 0 config/mail.php | 0 config/queue.php | 0 config/sanctum.php | 0 config/services.php | 0 config/session.php | 0 config/view.php | 0 database/.gitignore | 0 database/factories/TaskFactory.php | 0 database/factories/UserFactory.php | 0 .../2014_10_12_000000_create_users_table.php | 0 ...12_100000_create_password_resets_table.php | 0 ..._08_19_000000_create_failed_jobs_table.php | 0 ...01_create_personal_access_tokens_table.php | 0 .../2021_10_16_152058_create_tasks_table.php | 0 database/seeders/DatabaseSeeder.php | 0 package-lock.json | 0 package.json | 0 phpunit.xml | 0 public/.htaccess | 0 public/css/app.css | 0 public/favicon.ico | 0 public/index.php | 0 public/js/app.js | 0 public/mix-manifest.json | 0 public/robots.txt | 0 public/web.config | 0 resources/css/app.css | 0 resources/js/app.js | 0 resources/js/bootstrap.js | 0 resources/lang/en/auth.php | 0 resources/lang/en/pagination.php | 0 resources/lang/en/passwords.php | 0 resources/lang/en/validation.php | 0 resources/views/admin/dashboard.blade.php | 0 resources/views/admin/stats.blade.php | 0 .../views/auth/confirm-password.blade.php | 0 .../views/auth/forgot-password.blade.php | 0 resources/views/auth/login.blade.php | 0 resources/views/auth/register.blade.php | 0 resources/views/auth/reset-password.blade.php | 0 resources/views/auth/verify-email.blade.php | 0 .../components/application-logo.blade.php | 0 .../views/components/auth-card.blade.php | 0 .../components/auth-session-status.blade.php | 0 .../auth-validation-errors.blade.php | 0 resources/views/components/button.blade.php | 0 .../views/components/dropdown-link.blade.php | 0 resources/views/components/dropdown.blade.php | 0 resources/views/components/input.blade.php | 0 resources/views/components/label.blade.php | 0 resources/views/components/nav-link.blade.php | 0 .../components/responsive-nav-link.blade.php | 0 resources/views/dashboard.blade.php | 0 resources/views/layouts/app.blade.php | 0 resources/views/layouts/guest.blade.php | 0 resources/views/layouts/navigation.blade.php | 0 resources/views/pages/about.blade.php | 0 resources/views/tasks/create.blade.php | 0 resources/views/tasks/edit.blade.php | 0 resources/views/tasks/index.blade.php | 0 resources/views/users/notfound.blade.php | 0 resources/views/users/show.blade.php | 0 resources/views/welcome.blade.php | 0 routes/api.php | 4 ++ routes/auth.php | 0 routes/channels.php | 0 routes/console.php | 0 routes/web.php | 23 +++++++-- server.php | 0 storage/app/.gitignore | 0 storage/app/public/.gitignore | 0 storage/framework/.gitignore | 0 storage/framework/cache/.gitignore | 0 storage/framework/cache/data/.gitignore | 0 storage/framework/sessions/.gitignore | 0 storage/framework/testing/.gitignore | 0 storage/framework/views/.gitignore | 0 storage/logs/.gitignore | 0 tailwind.config.js | 0 tests/CreatesApplication.php | 0 tests/Feature/RoutesTest.php | 0 tests/TestCase.php | 0 webpack.mix.js | 0 141 files changed, 24 insertions(+), 54 deletions(-) mode change 100644 => 100755 .editorconfig delete mode 100644 .env.example mode change 100644 => 100755 .gitattributes mode change 100644 => 100755 .github/workflows/laravel.yml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .styleci.yml mode change 100644 => 100755 README.md mode change 100644 => 100755 app/Console/Kernel.php mode change 100644 => 100755 app/Exceptions/Handler.php mode change 100644 => 100755 app/Http/Controllers/Admin/DashboardController.php mode change 100644 => 100755 app/Http/Controllers/Admin/StatsController.php mode change 100644 => 100755 app/Http/Controllers/Api/V1/TaskController.php mode change 100644 => 100755 app/Http/Controllers/Auth/AuthenticatedSessionController.php mode change 100644 => 100755 app/Http/Controllers/Auth/ConfirmablePasswordController.php mode change 100644 => 100755 app/Http/Controllers/Auth/EmailVerificationNotificationController.php mode change 100644 => 100755 app/Http/Controllers/Auth/EmailVerificationPromptController.php mode change 100644 => 100755 app/Http/Controllers/Auth/NewPasswordController.php mode change 100644 => 100755 app/Http/Controllers/Auth/PasswordResetLinkController.php mode change 100644 => 100755 app/Http/Controllers/Auth/RegisteredUserController.php mode change 100644 => 100755 app/Http/Controllers/Auth/VerifyEmailController.php mode change 100644 => 100755 app/Http/Controllers/Controller.php mode change 100644 => 100755 app/Http/Controllers/DashboardController.php mode change 100644 => 100755 app/Http/Controllers/HomeController.php mode change 100644 => 100755 app/Http/Controllers/TaskController.php mode change 100644 => 100755 app/Http/Controllers/UserController.php mode change 100644 => 100755 app/Http/Kernel.php mode change 100644 => 100755 app/Http/Middleware/Authenticate.php mode change 100644 => 100755 app/Http/Middleware/EncryptCookies.php mode change 100644 => 100755 app/Http/Middleware/IsAdminMiddleware.php mode change 100644 => 100755 app/Http/Middleware/PreventRequestsDuringMaintenance.php mode change 100644 => 100755 app/Http/Middleware/RedirectIfAuthenticated.php mode change 100644 => 100755 app/Http/Middleware/TrimStrings.php mode change 100644 => 100755 app/Http/Middleware/TrustHosts.php mode change 100644 => 100755 app/Http/Middleware/TrustProxies.php mode change 100644 => 100755 app/Http/Middleware/VerifyCsrfToken.php mode change 100644 => 100755 app/Http/Requests/Auth/LoginRequest.php mode change 100644 => 100755 app/Models/Task.php mode change 100644 => 100755 app/Models/User.php mode change 100644 => 100755 app/Providers/AppServiceProvider.php mode change 100644 => 100755 app/Providers/AuthServiceProvider.php mode change 100644 => 100755 app/Providers/BroadcastServiceProvider.php mode change 100644 => 100755 app/Providers/EventServiceProvider.php mode change 100644 => 100755 app/Providers/RouteServiceProvider.php mode change 100644 => 100755 app/View/Components/AppLayout.php mode change 100644 => 100755 app/View/Components/GuestLayout.php mode change 100644 => 100755 bootstrap/app.php mode change 100644 => 100755 bootstrap/cache/.gitignore mode change 100644 => 100755 composer.json mode change 100644 => 100755 composer.lock mode change 100644 => 100755 config/app.php mode change 100644 => 100755 config/auth.php mode change 100644 => 100755 config/broadcasting.php mode change 100644 => 100755 config/cache.php mode change 100644 => 100755 config/cors.php mode change 100644 => 100755 config/database.php mode change 100644 => 100755 config/filesystems.php mode change 100644 => 100755 config/hashing.php mode change 100644 => 100755 config/logging.php mode change 100644 => 100755 config/mail.php mode change 100644 => 100755 config/queue.php mode change 100644 => 100755 config/sanctum.php mode change 100644 => 100755 config/services.php mode change 100644 => 100755 config/session.php mode change 100644 => 100755 config/view.php mode change 100644 => 100755 database/.gitignore mode change 100644 => 100755 database/factories/TaskFactory.php mode change 100644 => 100755 database/factories/UserFactory.php mode change 100644 => 100755 database/migrations/2014_10_12_000000_create_users_table.php mode change 100644 => 100755 database/migrations/2014_10_12_100000_create_password_resets_table.php mode change 100644 => 100755 database/migrations/2019_08_19_000000_create_failed_jobs_table.php mode change 100644 => 100755 database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php mode change 100644 => 100755 database/migrations/2021_10_16_152058_create_tasks_table.php mode change 100644 => 100755 database/seeders/DatabaseSeeder.php mode change 100644 => 100755 package-lock.json mode change 100644 => 100755 package.json mode change 100644 => 100755 phpunit.xml mode change 100644 => 100755 public/.htaccess mode change 100644 => 100755 public/css/app.css mode change 100644 => 100755 public/favicon.ico mode change 100644 => 100755 public/index.php mode change 100644 => 100755 public/js/app.js mode change 100644 => 100755 public/mix-manifest.json mode change 100644 => 100755 public/robots.txt mode change 100644 => 100755 public/web.config mode change 100644 => 100755 resources/css/app.css mode change 100644 => 100755 resources/js/app.js mode change 100644 => 100755 resources/js/bootstrap.js mode change 100644 => 100755 resources/lang/en/auth.php mode change 100644 => 100755 resources/lang/en/pagination.php mode change 100644 => 100755 resources/lang/en/passwords.php mode change 100644 => 100755 resources/lang/en/validation.php mode change 100644 => 100755 resources/views/admin/dashboard.blade.php mode change 100644 => 100755 resources/views/admin/stats.blade.php mode change 100644 => 100755 resources/views/auth/confirm-password.blade.php mode change 100644 => 100755 resources/views/auth/forgot-password.blade.php mode change 100644 => 100755 resources/views/auth/login.blade.php mode change 100644 => 100755 resources/views/auth/register.blade.php mode change 100644 => 100755 resources/views/auth/reset-password.blade.php mode change 100644 => 100755 resources/views/auth/verify-email.blade.php mode change 100644 => 100755 resources/views/components/application-logo.blade.php mode change 100644 => 100755 resources/views/components/auth-card.blade.php mode change 100644 => 100755 resources/views/components/auth-session-status.blade.php mode change 100644 => 100755 resources/views/components/auth-validation-errors.blade.php mode change 100644 => 100755 resources/views/components/button.blade.php mode change 100644 => 100755 resources/views/components/dropdown-link.blade.php mode change 100644 => 100755 resources/views/components/dropdown.blade.php mode change 100644 => 100755 resources/views/components/input.blade.php mode change 100644 => 100755 resources/views/components/label.blade.php mode change 100644 => 100755 resources/views/components/nav-link.blade.php mode change 100644 => 100755 resources/views/components/responsive-nav-link.blade.php mode change 100644 => 100755 resources/views/dashboard.blade.php mode change 100644 => 100755 resources/views/layouts/app.blade.php mode change 100644 => 100755 resources/views/layouts/guest.blade.php mode change 100644 => 100755 resources/views/layouts/navigation.blade.php mode change 100644 => 100755 resources/views/pages/about.blade.php mode change 100644 => 100755 resources/views/tasks/create.blade.php mode change 100644 => 100755 resources/views/tasks/edit.blade.php mode change 100644 => 100755 resources/views/tasks/index.blade.php mode change 100644 => 100755 resources/views/users/notfound.blade.php mode change 100644 => 100755 resources/views/users/show.blade.php mode change 100644 => 100755 resources/views/welcome.blade.php mode change 100644 => 100755 routes/api.php mode change 100644 => 100755 routes/auth.php mode change 100644 => 100755 routes/channels.php mode change 100644 => 100755 routes/console.php mode change 100644 => 100755 routes/web.php mode change 100644 => 100755 server.php mode change 100644 => 100755 storage/app/.gitignore mode change 100644 => 100755 storage/app/public/.gitignore mode change 100644 => 100755 storage/framework/.gitignore mode change 100644 => 100755 storage/framework/cache/.gitignore mode change 100644 => 100755 storage/framework/cache/data/.gitignore mode change 100644 => 100755 storage/framework/sessions/.gitignore mode change 100644 => 100755 storage/framework/testing/.gitignore mode change 100644 => 100755 storage/framework/views/.gitignore mode change 100644 => 100755 storage/logs/.gitignore mode change 100644 => 100755 tailwind.config.js mode change 100644 => 100755 tests/CreatesApplication.php mode change 100644 => 100755 tests/Feature/RoutesTest.php mode change 100644 => 100755 tests/TestCase.php mode change 100644 => 100755 webpack.mix.js diff --git a/.editorconfig b/.editorconfig old mode 100644 new mode 100755 diff --git a/.env.example b/.env.example deleted file mode 100644 index d9e6dcb9a..000000000 --- a/.env.example +++ /dev/null @@ -1,51 +0,0 @@ -APP_NAME=Laravel -APP_ENV=local -APP_KEY= -APP_DEBUG=true -APP_URL=http://localhost - -LOG_CHANNEL=stack -LOG_LEVEL=debug - -DB_CONNECTION=mysql -DB_HOST=127.0.0.1 -DB_PORT=3306 -DB_DATABASE=project2 -DB_USERNAME=root -DB_PASSWORD= - -BROADCAST_DRIVER=log -CACHE_DRIVER=file -FILESYSTEM_DRIVER=local -QUEUE_CONNECTION=sync -SESSION_DRIVER=file -SESSION_LIFETIME=120 - -MEMCACHED_HOST=127.0.0.1 - -REDIS_HOST=127.0.0.1 -REDIS_PASSWORD=null -REDIS_PORT=6379 - -MAIL_MAILER=smtp -MAIL_HOST=mailhog -MAIL_PORT=1025 -MAIL_USERNAME=null -MAIL_PASSWORD=null -MAIL_ENCRYPTION=null -MAIL_FROM_ADDRESS=null -MAIL_FROM_NAME="${APP_NAME}" - -AWS_ACCESS_KEY_ID= -AWS_SECRET_ACCESS_KEY= -AWS_DEFAULT_REGION=us-east-1 -AWS_BUCKET= -AWS_USE_PATH_STYLE_ENDPOINT=false - -PUSHER_APP_ID= -PUSHER_APP_KEY= -PUSHER_APP_SECRET= -PUSHER_APP_CLUSTER=mt1 - -MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" -MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.styleci.yml b/.styleci.yml old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php old mode 100644 new mode 100755 diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Admin/DashboardController.php b/app/Http/Controllers/Admin/DashboardController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Admin/StatsController.php b/app/Http/Controllers/Admin/StatsController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Api/V1/TaskController.php b/app/Http/Controllers/Api/V1/TaskController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/AuthenticatedSessionController.php b/app/Http/Controllers/Auth/AuthenticatedSessionController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/ConfirmablePasswordController.php b/app/Http/Controllers/Auth/ConfirmablePasswordController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/EmailVerificationNotificationController.php b/app/Http/Controllers/Auth/EmailVerificationNotificationController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/EmailVerificationPromptController.php b/app/Http/Controllers/Auth/EmailVerificationPromptController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/NewPasswordController.php b/app/Http/Controllers/Auth/NewPasswordController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/PasswordResetLinkController.php b/app/Http/Controllers/Auth/PasswordResetLinkController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/RegisteredUserController.php b/app/Http/Controllers/Auth/RegisteredUserController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/VerifyEmailController.php b/app/Http/Controllers/Auth/VerifyEmailController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/TaskController.php b/app/Http/Controllers/TaskController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php old mode 100644 new mode 100755 diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/IsAdminMiddleware.php b/app/Http/Middleware/IsAdminMiddleware.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Auth/LoginRequest.php b/app/Http/Requests/Auth/LoginRequest.php old mode 100644 new mode 100755 diff --git a/app/Models/Task.php b/app/Models/Task.php old mode 100644 new mode 100755 diff --git a/app/Models/User.php b/app/Models/User.php old mode 100644 new mode 100755 diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/View/Components/AppLayout.php b/app/View/Components/AppLayout.php old mode 100644 new mode 100755 diff --git a/app/View/Components/GuestLayout.php b/app/View/Components/GuestLayout.php old mode 100644 new mode 100755 diff --git a/bootstrap/app.php b/bootstrap/app.php old mode 100644 new mode 100755 diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 diff --git a/composer.lock b/composer.lock old mode 100644 new mode 100755 diff --git a/config/app.php b/config/app.php old mode 100644 new mode 100755 diff --git a/config/auth.php b/config/auth.php old mode 100644 new mode 100755 diff --git a/config/broadcasting.php b/config/broadcasting.php old mode 100644 new mode 100755 diff --git a/config/cache.php b/config/cache.php old mode 100644 new mode 100755 diff --git a/config/cors.php b/config/cors.php old mode 100644 new mode 100755 diff --git a/config/database.php b/config/database.php old mode 100644 new mode 100755 diff --git a/config/filesystems.php b/config/filesystems.php old mode 100644 new mode 100755 diff --git a/config/hashing.php b/config/hashing.php old mode 100644 new mode 100755 diff --git a/config/logging.php b/config/logging.php old mode 100644 new mode 100755 diff --git a/config/mail.php b/config/mail.php old mode 100644 new mode 100755 diff --git a/config/queue.php b/config/queue.php old mode 100644 new mode 100755 diff --git a/config/sanctum.php b/config/sanctum.php old mode 100644 new mode 100755 diff --git a/config/services.php b/config/services.php old mode 100644 new mode 100755 diff --git a/config/session.php b/config/session.php old mode 100644 new mode 100755 diff --git a/config/view.php b/config/view.php old mode 100644 new mode 100755 diff --git a/database/.gitignore b/database/.gitignore old mode 100644 new mode 100755 diff --git a/database/factories/TaskFactory.php b/database/factories/TaskFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php old mode 100644 new mode 100755 diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2021_10_16_152058_create_tasks_table.php b/database/migrations/2021_10_16_152058_create_tasks_table.php old mode 100644 new mode 100755 diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php old mode 100644 new mode 100755 diff --git a/package-lock.json b/package-lock.json old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/phpunit.xml b/phpunit.xml old mode 100644 new mode 100755 diff --git a/public/.htaccess b/public/.htaccess old mode 100644 new mode 100755 diff --git a/public/css/app.css b/public/css/app.css old mode 100644 new mode 100755 diff --git a/public/favicon.ico b/public/favicon.ico old mode 100644 new mode 100755 diff --git a/public/index.php b/public/index.php old mode 100644 new mode 100755 diff --git a/public/js/app.js b/public/js/app.js old mode 100644 new mode 100755 diff --git a/public/mix-manifest.json b/public/mix-manifest.json old mode 100644 new mode 100755 diff --git a/public/robots.txt b/public/robots.txt old mode 100644 new mode 100755 diff --git a/public/web.config b/public/web.config old mode 100644 new mode 100755 diff --git a/resources/css/app.css b/resources/css/app.css old mode 100644 new mode 100755 diff --git a/resources/js/app.js b/resources/js/app.js old mode 100644 new mode 100755 diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js old mode 100644 new mode 100755 diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php old mode 100644 new mode 100755 diff --git a/resources/views/admin/dashboard.blade.php b/resources/views/admin/dashboard.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/admin/stats.blade.php b/resources/views/admin/stats.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/forgot-password.blade.php b/resources/views/auth/forgot-password.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/reset-password.blade.php b/resources/views/auth/reset-password.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/application-logo.blade.php b/resources/views/components/application-logo.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/auth-card.blade.php b/resources/views/components/auth-card.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/auth-session-status.blade.php b/resources/views/components/auth-session-status.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/auth-validation-errors.blade.php b/resources/views/components/auth-validation-errors.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/button.blade.php b/resources/views/components/button.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/dropdown-link.blade.php b/resources/views/components/dropdown-link.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/dropdown.blade.php b/resources/views/components/dropdown.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/input.blade.php b/resources/views/components/input.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/label.blade.php b/resources/views/components/label.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/nav-link.blade.php b/resources/views/components/nav-link.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/responsive-nav-link.blade.php b/resources/views/components/responsive-nav-link.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/guest.blade.php b/resources/views/layouts/guest.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/pages/about.blade.php b/resources/views/pages/about.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/tasks/create.blade.php b/resources/views/tasks/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/tasks/edit.blade.php b/resources/views/tasks/edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/tasks/index.blade.php b/resources/views/tasks/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/users/notfound.blade.php b/resources/views/users/notfound.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/users/show.blade.php b/resources/views/users/show.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php old mode 100644 new mode 100755 diff --git a/routes/api.php b/routes/api.php old mode 100644 new mode 100755 index 39ecc07c6..15ea32d4b --- a/routes/api.php +++ b/routes/api.php @@ -1,5 +1,6 @@ group(function(){ + Route::resource('tasks',TaskController::class); + }); }); diff --git a/routes/auth.php b/routes/auth.php old mode 100644 new mode 100755 diff --git a/routes/channels.php b/routes/channels.php old mode 100644 new mode 100755 diff --git a/routes/console.php b/routes/console.php old mode 100644 new mode 100755 diff --git a/routes/web.php b/routes/web.php old mode 100644 new mode 100755 index 15508ce8d..027c8ecb7 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,11 @@ name('about'); // Task 4: redirect the GET URL "log-in" to a URL "login" // Put one code line here below +Route::redirect('/log-in','login'); // Task 5: group the following route sentences below in Route::group() // Assign middleware "auth" // Put one Route Group code line here below +Route::group(['middleware' => 'auth'],function(){ // Tasks inside that Authenticated group: // Task 6: /app group within a group // Add another group for routes with prefix "app" // Put one Route Group code line here below + Route::prefix('app')->group(function(){ // Tasks inside that /app group: @@ -48,12 +59,15 @@ // Task 7: point URL /app/dashboard to a "Single Action" DashboardController // Assign the route name "dashboard" // Put one Route Group code line here below + Route::get('dashboard',DashboardController::class)->name('dashboard'); // Task 8: Manage tasks with URL /app/tasks/***. // Add ONE line to assign 7 resource routes to TaskController // Put one code line here below + Route::resource('tasks',TaskController::class); + }); // End of the /app Route Group @@ -61,6 +75,7 @@ // Add a group for routes with URL prefix "admin" // Assign middleware called "is_admin" to them // Put one Route Group code line here below + Route::group(['prefix' => 'admin', 'middleware' => 'is_admin'], function(){ // Tasks inside that /admin group: @@ -68,14 +83,16 @@ // Task 10: point URL /admin/dashboard to a "Single Action" Admin/DashboardController // Put one code line here below + Route::get('dashboard',AdminDashboardController::class); // Task 11: point URL /admin/stats to a "Single Action" Admin/StatsController // Put one code line here below + Route::get('stats',StatsController::class); - + }); // End of the /admin Route Group - +}); // End of the main Authenticated Route Group // One more task is in routes/api.php diff --git a/server.php b/server.php old mode 100644 new mode 100755 diff --git a/storage/app/.gitignore b/storage/app/.gitignore old mode 100644 new mode 100755 diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore old mode 100644 new mode 100755 diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore old mode 100644 new mode 100755 diff --git a/tailwind.config.js b/tailwind.config.js old mode 100644 new mode 100755 diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php old mode 100644 new mode 100755 diff --git a/tests/Feature/RoutesTest.php b/tests/Feature/RoutesTest.php old mode 100644 new mode 100755 diff --git a/tests/TestCase.php b/tests/TestCase.php old mode 100644 new mode 100755 diff --git a/webpack.mix.js b/webpack.mix.js old mode 100644 new mode 100755