├── public ├── favicon.ico ├── robots.txt ├── noimage.png ├── .htaccess ├── stubs │ ├── table.html │ └── modal.html └── index.php ├── database ├── .gitignore ├── seeders │ ├── DatabaseSeeder.php │ └── SettingsTableSeeder.php ├── factories │ ├── ClientFactory.php │ ├── AppointmentFactory.php │ └── UserFactory.php └── migrations │ ├── 2023_08_11_053020_add_avatar_field_to_users_table.php │ ├── 2023_06_25_070241_create_settings_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2022_11_14_051212_add_role_field_to_users_table.php │ ├── 2023_02_02_094305_create_clients_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ ├── 2019_12_14_000001_create_personal_access_tokens_table.php │ ├── 2023_02_02_094423_create_appointments_table.php │ └── 2014_10_12_200000_add_two_factor_columns_to_users_table.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── app ├── Enums │ ├── RoleType.php │ └── AppointmentStatus.php ├── Models │ ├── Client.php │ ├── Setting.php │ ├── Appointment.php │ └── User.php ├── Http │ ├── Controllers │ │ ├── ApplicationController.php │ │ ├── Admin │ │ │ ├── ClientController.php │ │ │ ├── AppointmentStatusController.php │ │ │ ├── SettingController.php │ │ │ ├── ProfileController.php │ │ │ ├── UserController.php │ │ │ ├── DashboardStatController.php │ │ │ └── AppointmentController.php │ │ └── Controller.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrustHosts.php │ │ ├── TrimStrings.php │ │ ├── Authenticate.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ └── Kernel.php ├── Helpers.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ ├── RouteServiceProvider.php │ └── FortifyServiceProvider.php ├── Actions │ └── Fortify │ │ ├── PasswordValidationRules.php │ │ ├── ResetUserPassword.php │ │ ├── UpdateUserPassword.php │ │ ├── CreateNewUser.php │ │ └── UpdateUserProfileInformation.php ├── Console │ └── Kernel.php └── Exceptions │ └── Handler.php ├── resources ├── js │ ├── helper.js │ ├── components │ │ ├── SidebarRight.vue │ │ ├── AppFooter.vue │ │ ├── Preloader.vue │ │ ├── SidebarLeft.vue │ │ ├── Dashboard.vue │ │ └── AppNavbar.vue │ ├── toastr.js │ ├── stores │ │ ├── AuthUserStore.js │ │ └── SettingStore.js │ ├── App.vue │ ├── bootstrap.js │ ├── app.js │ ├── routes.js │ └── pages │ │ ├── users │ │ └── UserListItem.vue │ │ ├── auth │ │ └── Login.vue │ │ ├── settings │ │ └── UpdateSetting.vue │ │ └── appointments │ │ ├── ListAppointments.vue │ │ └── AppointmentForm.vue ├── css │ └── app.css └── views │ ├── auth │ └── login.blade.php │ ├── admin │ └── layouts │ │ └── app.blade.php │ └── stubs │ ├── settings.blade.php │ ├── dashboard-stats.blade.php │ ├── login.blade.php │ ├── appointment-list.blade.php │ ├── appointment-form.blade.php │ └── update-profile.blade.php ├── .gitattributes ├── config ├── settings.php ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── broadcasting.php ├── sanctum.php ├── filesystems.php ├── queue.php ├── cache.php ├── mail.php ├── auth.php ├── logging.php ├── fortify.php ├── database.php └── session.php ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ ├── ExampleTest.php │ └── Http │ │ └── Controllers │ │ └── Admin │ │ └── UserControllerTest.php └── CreatesApplication.php ├── .styleci.yml ├── .gitignore ├── .editorconfig ├── lang └── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── vite.config.js ├── package.json ├── phpunit.xml ├── .env.example ├── artisan ├── composer.json └── README.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /public/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clovon/Multipurpose-Laravel9-and-Vue3-Application/HEAD/public/noimage.png -------------------------------------------------------------------------------- /app/Enums/RoleType.php: -------------------------------------------------------------------------------- 1 | [ 5 | 'app_name' => 'Laravel & Vue 3', 6 | 'date_format' => 'm/d/Y', 7 | 'pagination_limit' => 10, 8 | ], 9 | ]; 10 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/build 3 | /public/hot 4 | /public/storage 5 | /storage/*.key 6 | /vendor 7 | .env 8 | .env.backup 9 | .phpunit.result.cache 10 | Homestead.json 11 | Homestead.yaml 12 | auth.json 13 | npm-debug.log 14 | yarn-error.log 15 | /.idea 16 | /.vscode 17 | -------------------------------------------------------------------------------- /app/Models/Setting.php: -------------------------------------------------------------------------------- 1 | get(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.{yml,yaml}] 15 | indent_size = 2 16 | 17 | [docker-compose.yml] 18 | indent_size = 4 19 | -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | // 16 | ]; 17 | } 18 | -------------------------------------------------------------------------------- /app/Helpers.php: -------------------------------------------------------------------------------- 1 | all(); 10 | }); 11 | 12 | if (! $settings) { 13 | $settings = config('settings.default'); 14 | } 15 | 16 | return $settings[$key] ?? false; 17 | } 18 | -------------------------------------------------------------------------------- /tests/Feature/ExampleTest.php: -------------------------------------------------------------------------------- 1 | get('/'); 17 | 18 | $response->assertStatus(200); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | // 'http://localhost/api/users', 16 | ]; 17 | } 18 | -------------------------------------------------------------------------------- /resources/views/auth/login.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 || # | 7 |Name | 8 |Registered Date | 10 |Role | 11 |Options | 12 ||
|---|---|---|---|---|---|
| 1 | 17 |- | 18 |- | 19 |- | 20 |- | 21 |- | 22 |
Appointments
15 |Sign in to start your session
21 | 54 | 55 |56 | I forgot my password 57 |
58 |Sign in to start your session
42 |85 | I forgot my password 86 |
87 |
8 | Admin
13 |Appointments
70 |Users
96 || # | 124 |Client Name | 125 |Date | 126 |Time | 127 |Status | 128 |Options | 129 |
|---|---|---|---|---|---|
| {{ index + 1 }} | 134 |{{ appointment.client.first_name }} {{ appointment.client.last_name }} | 135 |{{ appointment.start_time }} | 136 |{{ appointment.end_time }} | 137 |138 | {{ 139 | appointment.status.name }} 140 | | 141 |
142 | |
150 |