├── laravel_api ├── public │ ├── favicon.ico │ ├── robots.txt │ ├── .htaccess │ └── index.php ├── database │ ├── .gitignore │ ├── seeds │ │ └── DatabaseSeeder.php │ ├── migrations │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ ├── 2017_08_22_132111_create_tests_table.php │ │ └── 2014_10_12_000000_create_users_table.php │ └── factories │ │ └── ModelFactory.php ├── storage │ ├── logs │ │ └── .gitignore │ ├── app │ │ ├── public │ │ │ └── .gitignore │ │ └── .gitignore │ └── framework │ │ ├── cache │ │ └── .gitignore │ │ ├── views │ │ └── .gitignore │ │ ├── sessions │ │ └── .gitignore │ │ ├── testing │ │ └── .gitignore │ │ └── .gitignore ├── bootstrap │ ├── cache │ │ └── .gitignore │ ├── autoload.php │ └── app.php ├── .gitattributes ├── .gitignore ├── app │ ├── Test.php │ ├── Http │ │ ├── Middleware │ │ │ ├── EncryptCookies.php │ │ │ ├── VerifyCsrfToken.php │ │ │ ├── TrimStrings.php │ │ │ └── RedirectIfAuthenticated.php │ │ ├── Controllers │ │ │ ├── Controller.php │ │ │ ├── HomeController.php │ │ │ ├── Auth │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ ├── LoginController.php │ │ │ │ ├── ResetPasswordController.php │ │ │ │ └── RegisterController.php │ │ │ └── AppHttpApiUserController.php │ │ ├── Api │ │ │ ├── Auth │ │ │ │ ├── LoginController.php │ │ │ │ └── RegisterController.php │ │ │ └── UsersController.php │ │ └── Kernel.php │ ├── Providers │ │ ├── BroadcastServiceProvider.php │ │ ├── AppServiceProvider.php │ │ ├── AuthServiceProvider.php │ │ ├── EventServiceProvider.php │ │ └── RouteServiceProvider.php │ ├── User.php │ ├── Console │ │ └── Kernel.php │ └── Exceptions │ │ └── Handler.php ├── tests │ ├── TestCase.php │ ├── Unit │ │ └── ExampleTest.php │ ├── CreatesApplication.php │ └── Feature │ │ └── ExampleTest.php ├── resources │ ├── assets │ │ ├── sass │ │ │ ├── app.scss │ │ │ └── _variables.scss │ │ └── js │ │ │ ├── components │ │ │ └── Example.vue │ │ │ ├── app.js │ │ │ └── bootstrap.js │ ├── views │ │ ├── home.blade.php │ │ ├── auth │ │ │ ├── passwords │ │ │ │ ├── email.blade.php │ │ │ │ └── reset.blade.php │ │ │ ├── login.blade.php │ │ │ └── register.blade.php │ │ ├── welcome.blade.php │ │ └── layouts │ │ │ └── app.blade.php │ └── lang │ │ └── en │ │ ├── pagination.php │ │ ├── auth.php │ │ ├── passwords.php │ │ └── validation.php ├── routes │ ├── channels.php │ ├── web.php │ ├── console.php │ └── api.php ├── webpack.mix.js ├── server.php ├── .env.example ├── package.json ├── config │ ├── view.php │ ├── services.php │ ├── broadcasting.php │ ├── filesystems.php │ ├── queue.php │ ├── cache.php │ ├── auth.php │ ├── database.php │ ├── mail.php │ ├── session.php │ ├── api.php │ ├── jwt.php │ └── app.php ├── phpunit.xml ├── nohup.out ├── composer.json └── artisan ├── Screenshots ├── 1.png └── 2.png └── readme.md /laravel_api/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /laravel_api/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /laravel_api/storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel_api/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel_api/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /laravel_api/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel_api/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel_api/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel_api/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /laravel_api/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /laravel_api/storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /Screenshots/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenverBYF/Laravel_restful_api_JWT/HEAD/Screenshots/1.png -------------------------------------------------------------------------------- /Screenshots/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DenverBYF/Laravel_restful_api_JWT/HEAD/Screenshots/2.png -------------------------------------------------------------------------------- /laravel_api/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /laravel_api/storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /laravel_api/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | /.idea 7 | /.vagrant 8 | Homestead.json 9 | Homestead.yaml 10 | npm-debug.log 11 | yarn-error.log 12 | .env 13 | -------------------------------------------------------------------------------- /laravel_api/app/Test.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /laravel_api/tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /laravel_api/app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | 5 |