├── .editorconfig ├── .env.example ├── .gitattributes ├── .gitignore ├── .htaccess ├── .idea ├── api-tutorial.iml ├── modules.xml ├── php.xml ├── phpunit.xml ├── vcs.xml └── workspace.xml ├── .styleci.yml ├── README.md ├── api.sql ├── app ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── Api │ │ │ ├── Admin │ │ │ │ └── AuthController.php │ │ │ ├── CategoriesController.php │ │ │ └── User │ │ │ │ └── AuthController.php │ │ └── Controller.php │ ├── Kernel.php │ └── Middleware │ │ ├── AssignGuard.php │ │ ├── Authenticate.php │ │ ├── ChangeLanguage.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── CheckPassword.php │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustHosts.php │ │ ├── TrustProxies.php │ │ └── VerifyCsrfToken.php ├── Models │ ├── Admin.php │ └── Category.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Traits │ └── GeneralTrait.php └── User.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 ├── jwt.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 └── seeds │ └── DatabaseSeeder.php ├── index.php ├── package.json ├── php ├── phpunit.xml ├── public ├── .htaccess ├── favicon.ico ├── index.php └── robots.txt ├── resources ├── js │ ├── app.js │ └── bootstrap.js ├── lang │ └── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php ├── sass │ └── app.scss └── views │ └── 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 /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.env.example -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.gitignore -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.htaccess -------------------------------------------------------------------------------- /.idea/api-tutorial.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.idea/api-tutorial.iml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/php.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.idea/php.xml -------------------------------------------------------------------------------- /.idea/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.idea/phpunit.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/.styleci.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/README.md -------------------------------------------------------------------------------- /api.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/api.sql -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Console/Kernel.php -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Exceptions/Handler.php -------------------------------------------------------------------------------- /app/Http/Controllers/Api/Admin/AuthController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Controllers/Api/Admin/AuthController.php -------------------------------------------------------------------------------- /app/Http/Controllers/Api/CategoriesController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Controllers/Api/CategoriesController.php -------------------------------------------------------------------------------- /app/Http/Controllers/Api/User/AuthController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Controllers/Api/User/AuthController.php -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Controllers/Controller.php -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Kernel.php -------------------------------------------------------------------------------- /app/Http/Middleware/AssignGuard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/AssignGuard.php -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/Authenticate.php -------------------------------------------------------------------------------- /app/Http/Middleware/ChangeLanguage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/ChangeLanguage.php -------------------------------------------------------------------------------- /app/Http/Middleware/CheckForMaintenanceMode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/CheckForMaintenanceMode.php -------------------------------------------------------------------------------- /app/Http/Middleware/CheckPassword.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/CheckPassword.php -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/EncryptCookies.php -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/RedirectIfAuthenticated.php -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/TrimStrings.php -------------------------------------------------------------------------------- /app/Http/Middleware/TrustHosts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/TrustHosts.php -------------------------------------------------------------------------------- /app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/TrustProxies.php -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Http/Middleware/VerifyCsrfToken.php -------------------------------------------------------------------------------- /app/Models/Admin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Models/Admin.php -------------------------------------------------------------------------------- /app/Models/Category.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Models/Category.php -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Providers/AppServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Providers/AuthServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Providers/BroadcastServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Providers/EventServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Providers/RouteServiceProvider.php -------------------------------------------------------------------------------- /app/Traits/GeneralTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/Traits/GeneralTrait.php -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/app/User.php -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/artisan -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/bootstrap/app.php -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/composer.lock -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/app.php -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/auth.php -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/broadcasting.php -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/cache.php -------------------------------------------------------------------------------- /config/cors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/cors.php -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/database.php -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/filesystems.php -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/hashing.php -------------------------------------------------------------------------------- /config/jwt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/jwt.php -------------------------------------------------------------------------------- /config/logging.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/logging.php -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/mail.php -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/queue.php -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/services.php -------------------------------------------------------------------------------- /config/session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/session.php -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/config/view.php -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/database/.gitignore -------------------------------------------------------------------------------- /database/factories/UserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/database/factories/UserFactory.php -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/database/migrations/2014_10_12_000000_create_users_table.php -------------------------------------------------------------------------------- /database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/database/migrations/2014_10_12_100000_create_password_resets_table.php -------------------------------------------------------------------------------- /database/migrations/2019_08_19_000000_create_failed_jobs_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/database/migrations/2019_08_19_000000_create_failed_jobs_table.php -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/database/seeds/DatabaseSeeder.php -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/index.php -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/package.json -------------------------------------------------------------------------------- /php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/public/.htaccess -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/public/index.php -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | -------------------------------------------------------------------------------- /resources/js/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/resources/js/bootstrap.js -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/resources/lang/en/auth.php -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/resources/lang/en/pagination.php -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/resources/lang/en/passwords.php -------------------------------------------------------------------------------- /resources/lang/en/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/resources/lang/en/validation.php -------------------------------------------------------------------------------- /resources/sass/app.scss: -------------------------------------------------------------------------------- 1 | // 2 | -------------------------------------------------------------------------------- /resources/views/welcome.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/resources/views/welcome.blade.php -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/routes/api.php -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/routes/channels.php -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/routes/console.php -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/routes/web.php -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/server.php -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/storage/framework/.gitignore -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/tests/CreatesApplication.php -------------------------------------------------------------------------------- /tests/Feature/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/tests/Feature/ExampleTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/tests/Unit/ExampleTest.php -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedeagle/api/HEAD/webpack.mix.js --------------------------------------------------------------------------------