├── public
├── favicon.ico
├── robots.txt
├── images
│ ├── logo.png
│ ├── profile.png
│ └── cars
│ │ ├── panel01_img01.jpg
│ │ ├── cima_1912_top_01.jpg.ximg.l_full_m.smart.jpg
│ │ ├── fuga_1912_top_02.jpg.ximg.l_full_m.smart.jpg
│ │ ├── sylphy_1803_top_002.jpg.ximg.l_full_m.smart.jpg
│ │ ├── teana_1803_top_002.jpg.ximg.l_full_m.smart.jpg
│ │ └── sylphy_1803_top_pfa_001.jpg.ximg.l_full_m.smart.jpg
├── mix-manifest.json
├── fonts
│ └── vendor
│ │ └── @fortawesome
│ │ └── fontawesome-free
│ │ ├── webfa-solid-900.eot
│ │ ├── webfa-solid-900.ttf
│ │ ├── webfa-brands-400.eot
│ │ ├── webfa-brands-400.ttf
│ │ ├── webfa-brands-400.woff
│ │ ├── webfa-regular-400.eot
│ │ ├── webfa-regular-400.ttf
│ │ ├── webfa-solid-900.woff
│ │ ├── webfa-solid-900.woff2
│ │ ├── webfa-brands-400.woff2
│ │ ├── webfa-regular-400.woff
│ │ └── webfa-regular-400.woff2
├── .htaccess
├── web.config
├── index.php
└── js
│ └── app.js.LICENSE.txt
├── bootstrap
├── cache
│ └── .gitignore
└── app.php
├── storage
├── logs
│ └── .gitignore
├── app
│ ├── public
│ │ └── .gitignore
│ └── .gitignore
└── framework
│ ├── testing
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ ├── cache
│ ├── data
│ │ └── .gitignore
│ └── .gitignore
│ ├── sessions
│ └── .gitignore
│ └── .gitignore
├── database
├── .gitignore
├── seeders
│ ├── DatabaseSeeder.php
│ ├── TagsTableSeeder.php
│ ├── UsersTableSeeder.php
│ ├── CategoriesTableSeeder.php
│ └── ProductsTableSeeder.php
├── migrations
│ ├── 2019_12_27_070603_create_tags_table.php
│ ├── 2020_01_08_113508_create_product_tag_pivot_table.php
│ ├── 2019_12_09_044534_create_roles_table.php
│ ├── 2014_10_12_100000_create_password_resets_table.php
│ ├── 2019_12_27_070549_create_categories_table.php
│ ├── 2019_12_09_082630_create_role_user_table.php
│ ├── 2019_12_09_094511_create_social_accounts_table.php
│ ├── 2019_08_19_000000_create_failed_jobs_table.php
│ ├── 2014_10_12_000000_create_users_table.php
│ └── 2019_12_27_065818_create_products_table.php
└── factories
│ ├── ProductFactory.php
│ └── UserFactory.php
├── .gitattributes
├── docker
├── php
│ └── local.ini
├── nginx
│ └── conf.d
│ │ └── app.conf
└── Dockerfile
├── app
├── Models
│ ├── Tag.php
│ ├── Category.php
│ ├── Role.php
│ ├── Product.php
│ └── User.php
├── Http
│ ├── Controllers
│ │ ├── Admin
│ │ │ ├── RoleController.php
│ │ │ ├── UserController.php
│ │ │ ├── ClientController.php
│ │ │ └── HomeController.php
│ │ ├── Controller.php
│ │ ├── HomeController.php
│ │ ├── Auth
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── ResetPasswordController.php
│ │ │ ├── LoginController.php
│ │ │ ├── ConfirmPasswordController.php
│ │ │ ├── VerificationController.php
│ │ │ └── RegisterController.php
│ │ └── API
│ │ │ └── V1
│ │ │ ├── BaseController.php
│ │ │ ├── TagController.php
│ │ │ ├── CategoryController.php
│ │ │ ├── ProfileController.php
│ │ │ ├── UserController.php
│ │ │ └── ProductController.php
│ ├── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── VerifyCsrfToken.php
│ │ ├── CheckForMaintenanceMode.php
│ │ ├── TrimStrings.php
│ │ ├── TrustHosts.php
│ │ ├── PreventRequestsDuringMaintenance.php
│ │ ├── TrustProxies.php
│ │ ├── Authenticate.php
│ │ └── RedirectIfAuthenticated.php
│ ├── Requests
│ │ ├── Users
│ │ │ ├── ProfileUpdateRequest.php
│ │ │ ├── ChangePasswordRequest.php
│ │ │ └── UserRequest.php
│ │ └── Products
│ │ │ └── ProductRequest.php
│ └── Kernel.php
├── Providers
│ ├── ProductRepositoryServiceProvider.php
│ ├── BroadcastServiceProvider.php
│ ├── AppServiceProvider.php
│ ├── EventServiceProvider.php
│ ├── AuthServiceProvider.php
│ └── RouteServiceProvider.php
├── Rules
│ └── MatchOldPassword.php
├── Exceptions
│ └── Handler.php
├── Console
│ └── Kernel.php
└── Repositories
│ ├── ProductRepositoryInterface.php
│ ├── ProductRepository.php
│ └── ProductRepositoryStatic.php
├── tests
├── TestCase.php
├── Unit
│ └── ExampleTest.php
├── Feature
│ ├── ExampleTest.php
│ ├── VersionTest.php
│ ├── CategoryTest.php
│ ├── ProfileTest.php
│ └── UserTest.php
└── CreatesApplication.php
├── .gitignore
├── .styleci.yml
├── .editorconfig
├── resources
├── js
│ ├── Gate.js
│ ├── components
│ │ ├── Developer.vue
│ │ ├── ExampleComponent.vue
│ │ ├── passport
│ │ │ └── AuthorizedClients.vue
│ │ └── Tags.vue
│ ├── routes.js
│ ├── bootstrap.js
│ └── app.js
├── sass
│ ├── _variables.scss
│ └── app.scss
├── lang
│ └── en
│ │ ├── pagination.php
│ │ ├── auth.php
│ │ └── passwords.php
└── views
│ ├── home.blade.php
│ ├── auth
│ ├── verify.blade.php
│ ├── passwords
│ │ ├── email.blade.php
│ │ ├── confirm.blade.php
│ │ └── reset.blade.php
│ ├── login.blade.php
│ └── register.blade.php
│ ├── layouts
│ ├── sidebar-menu.blade.php
│ ├── app.blade.php
│ └── master.blade.php
│ └── vendor
│ └── passport
│ └── authorize.blade.php
├── webpack.mix.js
├── nginx.conf
├── routes
├── channels.php
├── console.php
├── web.php
└── api.php
├── config
├── passport.php
├── cors.php
├── services.php
├── view.php
├── hashing.php
├── broadcasting.php
├── filesystems.php
├── queue.php
├── logging.php
├── cache.php
├── mail.php
└── auth.php
├── server.php
├── azure-pipelines.yml
├── .env.example
├── LICENSE
├── phpunit.xml
├── package.json
├── docker-compose.yml
├── artisan
├── composer.json
└── README.md
/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 | *.sqlite-journal
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/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Phoenix-Genius/laravel-vue-crud-starter/HEAD/public/images/logo.png
--------------------------------------------------------------------------------
/public/images/profile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Phoenix-Genius/laravel-vue-crud-starter/HEAD/public/images/profile.png
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.scss linguist-vendored
4 | *.js linguist-vendored
5 | CHANGELOG.md export-ignore
6 |
--------------------------------------------------------------------------------
/public/images/cars/panel01_img01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Phoenix-Genius/laravel-vue-crud-starter/HEAD/public/images/cars/panel01_img01.jpg
--------------------------------------------------------------------------------
/storage/framework/.gitignore:
--------------------------------------------------------------------------------
1 | compiled.php
2 | config.php
3 | down
4 | events.scanned.php
5 | maintenance.php
6 | routes.php
7 | routes.scanned.php
8 | schedule-*
9 |
--------------------------------------------------------------------------------
/docker/php/local.ini:
--------------------------------------------------------------------------------
1 | file_uploads = On
2 | allow_url_fopen = On
3 | memory_limit = 1G
4 | upload_max_filesize = 200M
5 | post_max_size = 400M
6 | max_input_vars = 1500
7 |
--------------------------------------------------------------------------------
/public/images/cars/cima_1912_top_01.jpg.ximg.l_full_m.smart.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Phoenix-Genius/laravel-vue-crud-starter/HEAD/public/images/cars/cima_1912_top_01.jpg.ximg.l_full_m.smart.jpg
--------------------------------------------------------------------------------
/public/images/cars/fuga_1912_top_02.jpg.ximg.l_full_m.smart.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Phoenix-Genius/laravel-vue-crud-starter/HEAD/public/images/cars/fuga_1912_top_02.jpg.ximg.l_full_m.smart.jpg
--------------------------------------------------------------------------------
/public/mix-manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "/js/app.js": "/js/app.js",
3 | "/css/app.css": "/css/app.css",
4 | "/js/app.js.map": "/js/app.js.map",
5 | "/css/app.css.map": "/css/app.css.map"
6 | }
7 |
--------------------------------------------------------------------------------
/app/Models/Tag.php:
--------------------------------------------------------------------------------
1 | assertTrue(true);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/app/Http/Middleware/EncryptCookies.php:
--------------------------------------------------------------------------------
1 | belongsToMany(User::class);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
1 | app->bind(
12 | 'App\Repositories\ProductRepositoryInterface',
13 | 'App\Repositories\ProductRepository'
14 | );
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/app/Http/Middleware/CheckForMaintenanceMode.php:
--------------------------------------------------------------------------------
1 | get('/');
18 |
19 | $response->assertStatus(200);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/Http/Middleware/TrustHosts.php:
--------------------------------------------------------------------------------
1 | allSubdomainsOfApplicationUrl(),
18 | ];
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/Http/Middleware/PreventRequestsDuringMaintenance.php:
--------------------------------------------------------------------------------
1 | make(Kernel::class)->bootstrap();
19 |
20 | return $app;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/app/Providers/BroadcastServiceProvider.php:
--------------------------------------------------------------------------------
1 | expectsJson()) {
18 | return route('login');
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/webpack.mix.js:
--------------------------------------------------------------------------------
1 | const mix = require('laravel-mix');
2 |
3 | /*
4 | |--------------------------------------------------------------------------
5 | | Mix Asset Management
6 | |--------------------------------------------------------------------------
7 | |
8 | | Mix provides a clean, fluent API for defining some Webpack build steps
9 | | for your Laravel application. By default, we are compiling the Sass
10 | | file for the application as well as bundling up all the JS files.
11 | |
12 | */
13 |
14 | mix.js('resources/js/app.js', 'public/js')
15 | .sass('resources/sass/app.scss', 'public/css').sourceMaps();
16 |
--------------------------------------------------------------------------------
/app/Http/Controllers/HomeController.php:
--------------------------------------------------------------------------------
1 | middleware('auth');
17 | }
18 |
19 | /**
20 | * Show the application dashboard.
21 | *
22 | * @return \Illuminate\Contracts\Support\Renderable
23 | */
24 | public function index()
25 | {
26 | return view('home');
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/nginx.conf:
--------------------------------------------------------------------------------
1 | add_header X-Frame-Options "SAMEORIGIN";
2 | add_header X-XSS-Protection "1; mode=block";
3 | add_header X-Content-Type-Options "nosniff";
4 |
5 | index index.php index.html index.htm;
6 |
7 | charset utf-8;
8 |
9 | location / {
10 | auth_basic "Restricted";
11 | auth_basic_user_file .htpasswd;
12 |
13 | try_files $uri $uri/ /index.php?$query_string;
14 | }
15 |
16 | location = /favicon.ico { access_log off; log_not_found off; }
17 | location = /robots.txt { access_log off; log_not_found off; }
18 |
19 | error_page 404 /index.php;
20 |
21 | location ~ /\.(?!well-known).* {
22 | deny all;
23 | }
24 |
--------------------------------------------------------------------------------
/resources/lang/en/pagination.php:
--------------------------------------------------------------------------------
1 | '« Previous',
17 | 'next' => 'Next »',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/routes/channels.php:
--------------------------------------------------------------------------------
1 | id === (int) $id;
18 | });
19 |
--------------------------------------------------------------------------------
/config/passport.php:
--------------------------------------------------------------------------------
1 | env('PASSPORT_PRIVATE_KEY'),
17 |
18 | 'public_key' => env('PASSPORT_PUBLIC_KEY'),
19 |
20 | ];
21 |
--------------------------------------------------------------------------------
/server.php:
--------------------------------------------------------------------------------
1 |
8 | */
9 |
10 | $uri = urldecode(
11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
12 | );
13 |
14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the
15 | // built-in PHP web server. This provides a convenient way to test a Laravel
16 | // application without having installed a "real" web server software here.
17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
18 | return false;
19 | }
20 |
21 | require_once __DIR__.'/public/index.php';
22 |
--------------------------------------------------------------------------------
/tests/Feature/VersionTest.php:
--------------------------------------------------------------------------------
1 | getJson('/api/version');
20 | $response
21 | ->assertStatus(200)
22 | ->assertJson([
23 | 'version' => true,
24 | ]);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/routes/console.php:
--------------------------------------------------------------------------------
1 | comment(Inspiring::quote());
19 | })->purpose('Display an inspiring quote');
20 |
--------------------------------------------------------------------------------
/database/seeders/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | create();
17 | $this->call(UsersTableSeeder::class);
18 | $this->call(CategoriesTableSeeder::class);
19 | $this->call(TagsTableSeeder::class);
20 | $this->call(ProductsTableSeeder::class);
21 | //duplicate product for data
22 | $this->call(ProductsTableSeeder::class);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
{{ $client->name }} is requesting permission to access your account.
51 | 52 | 53 | @if (count($scopes) > 0) 54 |This application will be able to:
56 | 57 || Name | 19 |Scopes | 20 |21 | |
|---|---|---|
| 28 | {{ token.client.name }} 29 | | 30 | 31 | 32 |33 | 34 | {{ token.scopes.join(', ') }} 35 | 36 | | 37 | 38 | 39 |40 | 41 | Revoke 42 | 43 | | 44 |
| ID | 26 |Name | 27 ||
|---|---|---|
| {{tag.id}} | 33 |{{tag.name}} | 34 |35 | | 36 |