├── .editorconfig ├── .env.example ├── .gitattributes ├── .gitignore ├── .styleci.yml ├── README.md ├── app ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── Auth │ │ │ ├── ConfirmPasswordController.php │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── RegisterController.php │ │ │ ├── ResetPasswordController.php │ │ │ └── VerificationController.php │ │ ├── Backend │ │ │ ├── ChangePasswordController.php │ │ │ ├── CityController.php │ │ │ ├── CountryController.php │ │ │ ├── DepartmentController.php │ │ │ ├── StateController.php │ │ │ └── UserController.php │ │ ├── Controller.php │ │ ├── HomeController.php │ │ └── api │ │ │ ├── EmployeeController.php │ │ │ └── EmployeeDataController.php │ ├── Kernel.php │ ├── Middleware │ │ ├── Authenticate.php │ │ ├── EncryptCookies.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustHosts.php │ │ ├── TrustProxies.php │ │ └── VerifyCsrfToken.php │ ├── Requests │ │ ├── CityStoreRequest.php │ │ ├── CountryStoreRequest.php │ │ ├── DepartmentStoreRequest.php │ │ ├── EmployeeStoreRequest.php │ │ ├── StateStoreRequest.php │ │ ├── UserStoreRequest.php │ │ └── UserUpdateRequest.php │ └── Resources │ │ ├── EmployeeResource.php │ │ └── EmployeeSingleResource.php ├── Models │ ├── City.php │ ├── Country.php │ ├── Department.php │ ├── Employee.php │ ├── State.php │ └── User.php └── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── artisan ├── bootstrap ├── app.php └── cache │ └── .gitignore ├── composer.json ├── composer.lock ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── cors.php ├── database.php ├── filesystems.php ├── hashing.php ├── logging.php ├── mail.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── UserFactory.php ├── migrations │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ ├── 2021_08_04_094320_create_countries_table.php │ ├── 2021_08_04_094330_create_states_table.php │ ├── 2021_08_04_094339_create_cities_table.php │ ├── 2021_08_04_094351_create_departments_table.php │ └── 2021_08_04_094361_create_employees_table.php └── seeders │ └── DatabaseSeeder.php ├── package-lock.json ├── package.json ├── phpunit.xml ├── public ├── .htaccess ├── css │ ├── app.css │ └── sb-admin.min.css ├── favicon.ico ├── index.php ├── js │ ├── app.js │ └── sb-admin.min.js ├── mix-manifest.json ├── robots.txt └── web.config ├── resources ├── css │ └── app.css ├── js │ ├── app.js │ ├── bootstrap.js │ ├── components │ │ ├── ExampleComponent.vue │ │ └── employees │ │ │ ├── create.vue │ │ │ ├── edit.vue │ │ │ └── index.vue │ └── routes.js ├── lang │ └── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php ├── sass │ ├── _variables.scss │ └── app.scss └── views │ ├── auth │ ├── login.blade.php │ ├── passwords │ │ ├── confirm.blade.php │ │ ├── email.blade.php │ │ └── reset.blade.php │ ├── register.blade.php │ └── verify.blade.php │ ├── cities │ ├── create.blade.php │ ├── edit.blade.php │ └── index.blade.php │ ├── countries │ ├── create.blade.php │ ├── edit.blade.php │ └── index.blade.php │ ├── departments │ ├── create.blade.php │ ├── edit.blade.php │ └── index.blade.php │ ├── employees │ └── index.blade.php │ ├── home.blade.php │ ├── layouts │ ├── app.blade.php │ └── main.blade.php │ ├── states │ ├── create.blade.php │ ├── edit.blade.php │ └── index.blade.php │ ├── users │ ├── create.blade.php │ ├── edit.blade.php │ └── index.blade.php │ └── welcome.blade.php ├── routes ├── api.php ├── channels.php ├── console.php └── web.php ├── server.php ├── storage ├── app │ ├── .gitignore │ └── public │ │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ ├── .gitignore │ │ └── data │ │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ ├── testing │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore ├── tests ├── CreatesApplication.php ├── Feature │ └── ExampleTest.php ├── TestCase.php └── Unit │ └── ExampleTest.php ├── webpack.mix.js └── z_others ├── Database sql file └── employees-management.sql ├── Employees-Management(Laravel-Vuejs).txt └── employees-management-requirements-images ├── YT_Link.txt ├── employees-management-requirement-1.png ├── employees-management-requirement-2.png ├── employees-management-requirement-3.png ├── employees-management-requirement-4.png ├── employees-management-requirement-5.png └── employees-management-requirement-6.png /.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 = 2 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 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_NAME=Laravel 2 | APP_ENV=local 3 | APP_KEY= 4 | APP_DEBUG=true 5 | APP_URL=http://localhost 6 | 7 | LOG_CHANNEL=stack 8 | LOG_LEVEL=debug 9 | 10 | DB_CONNECTION=mysql 11 | DB_HOST=127.0.0.1 12 | DB_PORT=3306 13 | DB_DATABASE=laravel 14 | DB_USERNAME=root 15 | DB_PASSWORD= 16 | 17 | BROADCAST_DRIVER=log 18 | CACHE_DRIVER=file 19 | FILESYSTEM_DRIVER=local 20 | QUEUE_CONNECTION=sync 21 | SESSION_DRIVER=file 22 | SESSION_LIFETIME=120 23 | 24 | MEMCACHED_HOST=127.0.0.1 25 | 26 | REDIS_HOST=127.0.0.1 27 | REDIS_PASSWORD=null 28 | REDIS_PORT=6379 29 | 30 | MAIL_MAILER=smtp 31 | MAIL_HOST=mailhog 32 | MAIL_PORT=1025 33 | MAIL_USERNAME=null 34 | MAIL_PASSWORD=null 35 | MAIL_ENCRYPTION=null 36 | MAIL_FROM_ADDRESS=null 37 | MAIL_FROM_NAME="${APP_NAME}" 38 | 39 | AWS_ACCESS_KEY_ID= 40 | AWS_SECRET_ACCESS_KEY= 41 | AWS_DEFAULT_REGION=us-east-1 42 | AWS_BUCKET= 43 | AWS_USE_PATH_STYLE_ENDPOINT=false 44 | 45 | PUSHER_APP_ID= 46 | PUSHER_APP_KEY= 47 | PUSHER_APP_SECRET= 48 | PUSHER_APP_CLUSTER=mt1 49 | 50 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" 51 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 52 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | .env 7 | .env.backup 8 | .phpunit.result.cache 9 | docker-compose.override.yml 10 | Homestead.json 11 | Homestead.yaml 12 | npm-debug.log 13 | yarn-error.log 14 | /.idea 15 | /.vscode 16 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | php: 2 | preset: laravel 3 | disabled: 4 | - no_unused_imports 5 | finder: 6 | not-name: 7 | - index.php 8 | - server.php 9 | js: 10 | finder: 11 | not-name: 12 | - webpack.mix.js 13 | css: true 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
#Id | 48 |First Name | 49 |Last Name | 50 |Address | 51 |Department | 52 |Manage | 53 |
---|---|---|---|---|---|
#{{ employee.id }} | 58 |{{ employee.first_name }} | 59 |{{ employee.last_name }} | 60 |{{ employee.address }} | 61 |{{ employee.department.name }} | 62 |
63 | |
66 |
#Id | 46 |State Name | 47 |City Name | 48 |Manage | 49 |
---|---|---|---|
{{ $city->id }} | 55 |{{ $city->state->name }} | 56 |{{ $city->name }} | 57 |58 | Edit 59 | | 60 |
#Id | 46 |Country Code | 47 |Name | 48 |Manage | 49 |
---|---|---|---|
{{ $country->id }} | 55 |{{ $country->country_code }} | 56 |{{ $country->name }} | 57 |58 | Edit 59 | | 60 |
#Id | 46 |Name | 47 |Manage | 48 |
---|---|---|
{{ $department->id }} | 54 |{{ $department->name }} | 55 |56 | Edit 58 | | 59 |
#Id | 46 |Country Code | 47 |Name | 48 |Manage | 49 |
---|---|---|---|
{{ $state->id }} | 55 |{{ $state->country->country_code }} | 56 |{{ $state->name }} | 57 |58 | Edit 59 | | 60 |
#Id | 47 |Username | 48 |Manage | 50 ||
---|---|---|---|
{{ $user->id }} | 56 |{{ $user->username }} | 57 |{{ $user->email }} | 58 |59 | Edit 60 | | 61 |